enum class graphics::StrokeCap

sys::Obj
  sys::Enum
    graphics::StrokeCap

@Js
@Serializable { simple=true }

Source

Defines how a stroke end cap is rendered

butt

const static StrokeCap butt := ...

Source

Cap is a flat edge with no extension

fromStr

static new fromStr(Str name, Bool checked := true)

Source

Return the StrokeCap instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

round

const static StrokeCap round := ...

Source

Cap is a a rounded semi-circle

square

const static StrokeCap square := ...

Source

Cap is a half square extension

vals

const static StrokeCap[] vals := ...

Source

List of StrokeCap values indexed by ordinal