-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Media.LineGeometry |
winrt class |
Represents the geometry of a line.
<LineGeometry .../>
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]