PenLineJoin Enum
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.
Describes the shape that joins two lines or segments.
public enum class PenLineJoin
C#
public enum PenLineJoin
type PenLineJoin =
Public Enum PenLineJoin
- Inheritance
Name | Value | Description |
---|---|---|
Miter | 0 | Regular angular vertices. |
Bevel | 1 | Beveled vertices. |
Round | 2 | Rounded vertices. |
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.
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 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: