Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.3 KB

linesegment.md

File metadata and controls

33 lines (20 loc) · 1.3 KB
-api-id -api-type
T:Windows.UI.Xaml.Media.LineSegment
winrt class

Windows.UI.Xaml.Media.LineSegment

-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