WPF,请教这个几何图形怎么设置线条的粗细
WPF,请问这个几何图形如何设置线条的粗细
请问这个几何图形如何设置线条的粗细?
------解决方案--------------------
下面红色标记了的就是你所要的。
<Canvas Height="295" Name="canvas1" Width="418">
<Path Stroke="Blue" StrokeThickness="5">
<Path.Data>
<PathGeometry>
<PathFigure IsClosed="True" StartPoint="10,100">
<LineSegment Point="100,100"/>
<Canvas Height="295" Name="canvas1" Width="418">
<Path Stroke="Blue" >
<Path.Data>
<PathGeometry>
<PathFigure IsClosed="True" StartPoint="10,100">
<LineSegment Point="100,100" />
<LineSegment Point="100,50" />
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>
请问这个几何图形如何设置线条的粗细?
------解决方案--------------------
下面红色标记了的就是你所要的。
<Canvas Height="295" Name="canvas1" Width="418">
<Path Stroke="Blue" StrokeThickness="5">
<Path.Data>
<PathGeometry>
<PathFigure IsClosed="True" StartPoint="10,100">
<LineSegment Point="100,100"/>