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

ValueDescription
ROUNDRounded ends.
SQUARESquare protrudes by half line width.
FLATLine ends at end point.
DEFAULTDefault value is FLAT.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of EndCap values.

Methods

SignatureDescription
getName(endCap: int) → StringReturns JAVA_STYLE string representation of integer EndCap value.
toString(endCap: int) → StringReturns DotNetStyle string representation of integer EndCap value.
fromName(endCapName: String) → intReturns integer representation by EndCap name.
getValues() → int[]Returns array of EndCap values.

See Also