Windows.UI.Xaml.Media.LineSegment
June 22, 2022 · View on GitHub
-description
Represents a line drawn between two points, which can be part of a PathFigure within Path data.
-xaml-syntax
<LineSegment .../>
-remarks
-examples
This example creates a simple PathGeometry made up of a single PathFigure with a LineSegment and displays it using a Path element. The PathFigure object's StartPoint is set to (10,20) and a LineSegment is defined with an end point of (100,130).
[!code-xamlGeometryOvw5]
-see-also
PathSegment, Path, PathGeometry, XAML vector-based drawing sample, Draw shapes