LineCap

enum LineCap : Enum<LineCap> , LayerProperty

The display of line endings.

Parameters

value

String value of this property

Entries

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Functions

Link copied to clipboard
fun valueOf(value: String): LineCap

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.)

Link copied to clipboard

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val value: String