Windows.UI.Xaml.Media.LineGeometry

June 22, 2022 · View on GitHub

-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