Class LineCapValues
Specifies the shape of the ends of a line.
Inheritance
Namespace: IronWord.Models.Enums
Assembly: IronWord.dll
Syntax
public sealed class LineCapValues : Enum
Choose how the ends of a drawn line or stroke are finished with LineCapValues. Flat cuts the line off square at its exact endpoint, Round adds a semicircular cap that extends slightly past the end, and Square adds a squared cap that also projects beyond the endpoint. Pick Round or Square when a stroke needs a softer or fuller finish, and Flat for a precise stop.
var lineCap = LineCapValues.Round;Fields
Flat
The end of the line is flat.
Declaration
public const LineCapValues Flat
Field Value
| Type | Description |
|---|---|
| LineCapValues |
Round
The end of the line is rounded.
Declaration
public const LineCapValues Round
Field Value
| Type | Description |
|---|---|
| LineCapValues |
Square
The end of the line is square.
Declaration
public const LineCapValues Square
Field Value
| Type | Description |
|---|---|
| LineCapValues |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |