Partager via


Point (LineSegment)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the endpoint of a line segment.

<object Point="Point"  .../>
value = object.Point
object.Point = value

Property Value

Type: Point

The endpoint of the line segment.

This property is read/write. The default value is a Point with value 0,0.

Managed Equivalent

Point

Remarks

See the "Remarks" section in the Point reference topic for scripting usages of this property.

The LineSegment class does not contain a property for the starting point of the line. The starting point of the line is the current point of the PathFigure object where you add the line.

Applies To

LineSegment

See Also

Reference