Stroke with semi-transparent color
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="WPF" Height="300" Width="300">
<Canvas Margin="5">
<!--scRGB semi-transparent color-->
<Line X1="20" X2="260" Y1="200" Y2="50"
Stroke="sc# 0.6,0.8,0.3,0.0" StrokeThickness="40"/>
</Canvas>
</Window>
Related examples in the same category