VegaRise.NET
HomeAPI Reference
Back to DOM

StrokeJoinStyleValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the type of join used when two lines of a shape or path meet at a corner.

Remarks

The join style determines how the outline is rendered at the vertex where two line segments meet. Bevel, Miter and Round correspond to the three standard join styles defined by the drawing model. Join style is typically set on an (for shapes) or on a (for text). OutLine TextOutlineEffect

Examples

csharp
1// 1. Miter join (sharp corners)
2var line = new OutLine { Jointype = StrokeJoinStyleValues.Miter };
3
csharp
1// 2. Round join (soft corners)
2var line = new OutLine { Jointype = StrokeJoinStyleValues.Round };
3
csharp
1// 3. Bevel join (cut corners)
2var line = new OutLine { Jointype = StrokeJoinStyleValues.Bevel };
3
csharp
1// 4. Set on a text outline effect
2var effect = new TextOutlineEffect { LineJoin = StrokeJoinStyleValues.Round };
3

Fields

Bevel

Beveled corner (squared-off, cut).

Miter

Mitered corner (extended to a sharp point).

Round

Rounded corner.