EndCap
Overview
EndCap is an enum in Aspose.Words FOSS for Java.
Specifies line cap style.
Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.
This enum declares 4 methods for EndCap objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
ROUND | Rounded ends. |
SQUARE | Square protrudes by half line width. |
FLAT | Line ends at end point. |
DEFAULT | Default value is FLAT. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of EndCap values. |
Methods
| Signature | Description |
|---|---|
getName(endCap: int) → String | Returns JAVA_STYLE string representation of integer EndCap value. |
toString(endCap: int) → String | Returns DotNetStyle string representation of integer EndCap value. |
fromName(endCapName: String) → int | Returns integer representation by EndCap name. |
getValues() → int[] | Returns array of EndCap values. |