Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.17 KB

linegeometry.md

File metadata and controls

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

Windows.UI.Xaml.Media.LineGeometry

-description

Represents the geometry of a line.

-xaml-syntax

<LineGeometry .../>

-remarks

-examples

This example shows how to create and render a LineGeometry object. A Geometry object only defines the geometry of the object—it does not render anything directly—so the example uses a Path shape to render the line. Because a line has no area, setting the Fill property of the Path would have no effect; instead, only the Stroke and StrokeThickness properties are specified.

[!code-xamlGeometryOvw1]

-see-also

Geometry, LineSegment, PolyLineSegment