Skip to content

LineGeometry class

Describes a straight line segment.

public sealed class LineGeometry : Geometry
name description
LineGeometry() Creates a line geometry.
LineGeometry(…) Creates a line geometry between two points.
EndPoint { get; set; } Gets or sets the line’s end point.
StartPoint { get; set; } Gets or sets the line’s start point.
override GetPathGeometry()