LineCap

enum LineCap : Enum<LineCap> , LayerProperty

The display of line endings.

Parameters

value

String value of this property

Entries

SQUARE
Link copied to clipboard
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.
ROUND
Link copied to clipboard
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.
BUTT
Link copied to clipboard
BUTT("butt")
A cap with a squared-off end which is drawn to the exact endpoint of the line.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
open override val value: String
String value of this property