<!-- This polygon shape uses pre-defined color values for its Stroke and Fill properties. The SolidColorBrush's Opacity property affects the fill color in this case by making it slightly transparent (opacity of 0.4) so that it blends with any underlying color. --> <polygon Points="300,200 400,125 400,275 300,200" Stroke="Purple" StrokeThickness="2"> <polygon.fill> <solidcolorbrush color="Blue" opacity="0.4" /> </polygon.fill> </polygon>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)