Shape.StrokeLineJoin Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a PenLineJoin enumeration value that specifies the type of join that is used at the vertices of a Shape.
public:
property System::Windows::Media::PenLineJoin StrokeLineJoin { System::Windows::Media::PenLineJoin get(); void set(System::Windows::Media::PenLineJoin value); };
public System.Windows.Media.PenLineJoin StrokeLineJoin { get; set; }
member this.StrokeLineJoin : System.Windows.Media.PenLineJoin with get, set
Public Property StrokeLineJoin As PenLineJoin
Property Value
One of the enumeration values for PenLineJoin
Examples
The following example shows several different joints used at the vertices of a shape.
<Canvas Height="400" Width="400">
<Polyline
Points="10,110 60,10 110,110"
Stroke="Black"
StrokeThickness="4" />
<Polyline
Points="10,110 110,110 110,10"
Stroke="Black"
StrokeThickness="4"
Canvas.Left="150" />
</Canvas>
The following illustration shows the different line joins.
Remarks
This property has no effect if you set it on an element that has no vertices, such as on a Line element.