Expand Minimize

PenLineJoin Enumeration

Describes the shape that joins two lines or segments.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

type PenLineJoin
<object property="enumerationMemberName" .../>

Member nameDescription
BevelBeveled vertices.
MiterRegular angular vertices.
RoundRounded vertices.

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.

Example of line joins.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft