Edit

Share via


PenLineJoin Enum

Definition

Describes the shape that joins two lines or segments.

C#
public enum PenLineJoin
Inheritance
PenLineJoin

Fields

Name Value Description
Miter 0

Regular angular vertices.

Bevel 1

Beveled vertices.

Round 2

Rounded vertices.

Examples

The following example shows several different joints used at the vertices of a shape.

XAML
<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.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also