Back to DOM
LineCapValuesEnum
Definition
- Namespace
- DOM.Enums
- Assembly
- DOM.dll
Specifies the shape of the ends of a line.
Remarks
Used by and . The cap applies to both ends of solid lines and to each end of dashed lines. OutLine.CapType TextOutlineEffect.LineCapType
Examples
csharp
1// 1. Round cap
2var cap = LineCapValues.Round;
3
csharp
1// 2. Square cap
2var cap = LineCapValues.Square;
3
csharp
1// 3. Flat cap
2var cap = LineCapValues.Flat;
3
csharp
1// 4. Set on an outline
2var line = new OutLine { CapType = LineCapValues.Round };
3
Fields
Flat
Flat line ends.
Round
Rounded line ends.
Square
Squared line ends.