| |
24.83.13.PenLineCap.Triangle |
|
<StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Orientation="Horizontal">
<StackPanel.Resources>
<Style TargetType="{x:Type Canvas}">
<Setter Property="Width" Value="150" />
<Setter Property="Margin" Value="12" />
</Style>
<Style x:Key="thin">
<Setter Property="Line.X1" Value="00" />
<Setter Property="Line.Y1" Value="50" />
<Setter Property="Line.X2" Value="100" />
<Setter Property="Line.Y2" Value="50" />
<Setter Property="Line.Stroke" Value="Black" />
</Style>
<Style x:Key="thick"
BasedOn="{StaticResource thin}">
<Setter Property="Line.Stroke" Value="LightGray" />
<Setter Property="Line.StrokeThickness" Value="25" />
</Style>
</StackPanel.Resources>
<Canvas>
<TextBlock Text="PenLineCap.Triangle" />
<Line Style="{StaticResource thick}"
StrokeStartLineCap="Triangle"
StrokeEndLineCap="Triangle" />
<Line Style="{StaticResource thin}" />
</Canvas>
</StackPanel>
|
|
![WPF Pen Line Cap Triangle](../../CSharpImages/WPF-PenLineCapTriangle.PNG) |
24.83.Stroke | | 24.83.1. | StrokeDashArray 4,2 / StrokeDashOffset: 0 | | ![StrokeDashArray 4,2 / StrokeDashOffset: 0](../../CSharpImages/WPF-StrokeDashArray42StrokeDashOffset0.PNG) | | 24.83.2. | StrokeDashArray>: 4,2 /StrokeDashOffset: 1 | | ![StrokeDashArray>: 4,2 /StrokeDashOffset: 1](http://www.java2java.com/Tutorial/CSharpImages/WPF-StrokeDashArray42StrokeDashOffset1.PNG) | | 24.83.3. | StrokeDashArray: 4,2 /StrokeDashOffset: 2 | | ![StrokeDashArray: 4,2 /StrokeDashOffset: 2](../../CSharpImages/WPF-StrokeDashArray42StrokeDashOffset2.PNG) | | 24.83.4. | StrokeDashArray: 4,1,4,3 /StrokeDashOffset: 1 | | ![StrokeDashArray: 4,1,4,3 /StrokeDashOffset: 1](../../CSharpImages/WPF-StrokeDashArray4143StrokeDashOffset1.PNG) | | 24.83.5. | StrokeDashArray: 1,4,1,2 / StrokeDashOffset: 1 | | ![StrokeDashArray: 1,4,1,2 / StrokeDashOffset: 1](../../CSharpImages/WPF-StrokeDashArray1412StrokeDashOffset1.PNG) | | 24.83.6. | StrokeDashArray: 1 / StrokeDashOffset: 1 | | ![StrokeDashArray: 1 / StrokeDashOffset: 1](../../CSharpImages/WPF-StrokeDashArray1StrokeDashOffset1.PNG) | | 24.83.7. | PenLineJoin.Bevel | | ![PenLineJoin.Bevel](../../CSharpImages/WPF-PenLineJoinBevel.PNG) | | 24.83.8. | PenLineJoin.Round | | ![PenLineJoin.Round](../../CSharpImages/WPF-PenLineJoinRound.PNG) | | 24.83.9. | PenLineJoin.Miter | | ![PenLineJoin.Miter](../../CSharpImages/WPF-PenLineJoinMiter.PNG) | | 24.83.10. | PenLineCap.Flat | | ![PenLineCap.Flat](../../CSharpImages/WPF-PenLineCapFlat.PNG) | | 24.83.11. | PenLineCap.Square | | ![PenLineCap.Square](../../CSharpImages/WPF-PenLineCapSquare.PNG) | | 24.83.12. | PenLineCap.Round | | ![PenLineCap.Round](../../CSharpImages/WPF-PenLineCapRound.PNG) | | 24.83.13. | PenLineCap.Triangle | | ![PenLineCap.Triangle](../../CSharpImages/WPF-PenLineCapTriangle.PNG) | | 24.83.14. | StrokeStartLineCap=Round, StrokeEndLineCap=Round | | ![StrokeStartLineCap=Round, StrokeEndLineCap=Round](../../CSharpImages/WPF-StrokeStartLineCapRoundStrokeEndLineCapRound.PNG) | | 24.83.15. | Dotted Path | | ![Dotted Path](../../CSharpImages/WPF-DottedPath.PNG) |
|