MTLineCap

@Serializable
enum MTLineCap : Enum<MTLineCap>

The display of line endings.

Entries

@SerialName(value = "butt")
BUTT

A cap with a squared-off end which is drawn to the exact endpoint of the line.

@SerialName(value = "round")
ROUND

A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line’s width and centered on the endpoint of the line.

@SerialName(value = "square")
SQUARE

A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line’s width.

Properties

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

fun valueOf(value: String): MTLineCap

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns an array containing the constants of this enum type, in the order they're declared.