type

StrokeJoin

src @Js
@Serializable { simple=true }
enum class StrokeJoin : Enum

Defines how two stroke lines are joined together

enum

bevel

Join using a bevel with angle to smooth transition

miter

Join using sharp corners

radius

Join using rounded semi-circle (round in SVG terminology)

constructors

fromStr

Return the StrokeJoin instance for the specified name.

fields

vals

List of StrokeJoin values indexed by ordinal

Slot Details

bevel

src const static StrokeJoin bevel := ...

Join using a bevel with angle to smooth transition

fromStr

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

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

miter

src const static StrokeJoin miter := ...

Join using sharp corners

radius

src const static StrokeJoin radius := ...

Join using rounded semi-circle (round in SVG terminology)

vals

src const static StrokeJoin[] vals := ...

List of StrokeJoin values indexed by ordinal