我在WPF中相对较新。如何在XAML中使用GeometryDrawing
绘制“齿轮”形状。例如:
<GeometryDrawing Brush="Gray"
Geometry="--coordinate--">
</GeometryDrawing>
或:
<GeometryDrawing.Geometry>
<GeometryGroup>
<PathGeometry>
<PathFigure StartPoint="--start point--" IsClosed="True">
<PolyLineSegment Points="--points--"/>
</PathFigure>
</PathGeometry>
</GeometryGroup>
</GeometryDrawing.Geometry>
我需要获得的形状显示在下图:“齿轮”。
任何帮助将不胜感激。