Paint
How a shape is painted: fill, outline, shadow or glow. Colours are CSS.
Properties
Section titled “Properties”
optionalfill?:string
The fill colour; none without it.
stroke?
Section titled “stroke?”
optionalstroke?:string
The outline colour; none without it.
optionallw?:number
Outline width, stage units.
outlineBelow?
Section titled “outlineBelow?”
optionaloutlineBelow?:boolean
The outline under the fill (only its outer half shows), as when a path is stroked before it is filled.
shadow?
Section titled “shadow?”
optionalshadow?:object
A soft shadow or glow around the shape: colour and blur radius (stage units), optional offset.
color:
string
blur:
number
optionalx?:number
optionaly?:number