type
StrokeCap
@Js
@Serializable { simple=true }
enum class StrokeCap : Enum
Defines how a stroke end cap is rendered
enum
| butt |
Cap is a flat edge with no extension |
|---|---|
| round |
Cap is a a rounded semi-circle |
| square |
Cap is a half square extension |
constructors
| fromStr |
Return the StrokeCap instance for the specified name. |
|---|
fields
| vals |
List of StrokeCap values indexed by ordinal |
|---|
Slot Details
butt
const static StrokeCap butt := ...
Cap is a flat edge with no extension
fromStr
round
const static StrokeCap round := ...
Cap is a a rounded semi-circle
square
const static StrokeCap square := ...
Cap is a half square extension
vals
const static StrokeCap[] vals := ...
List of StrokeCap values indexed by ordinal