Class LineGeometry
Represents the geometry of a line.
public class LineGeometry : Geometry, INotifyPropertyChanged
- Inheritance
-
LineGeometry
- Implements
- Inherited Members
- Extension Methods
Constructors
LineGeometry()
Initializes a new instance of the LineGeometry class.
public LineGeometry()
LineGeometry(Point, Point)
Initializes a new instance of the LineGeometry class.
public LineGeometry(Point startPoint, Point endPoint)
Parameters
Fields
EndPointProperty
Defines the EndPoint property.
public static readonly StyledProperty<Point> EndPointProperty
Field Value
StartPointProperty
Defines the StartPoint property.
public static readonly StyledProperty<Point> StartPointProperty
Field Value
Properties
EndPoint
Gets or sets the end point of the line.
public Point EndPoint { get; set; }
Property Value
StartPoint
Gets or sets the start point of the line.
public Point StartPoint { get; set; }
Property Value
Methods
Clone()
Clones the geometry.
public override Geometry Clone()
Returns
- Geometry
A cloned geometry.