CanvasStyle
How a Canvas shape looks. A shape with an id reports clicks and drags on it in
CanvasEvent.item.
Properties
Section titled “Properties”
optionalfill?:Color|null
Fill of polygons, rectangles and circles; none by default.
optionalid?:string
stroke?
Section titled “stroke?”
optionalstroke?:Color|null
Outline or line color, or text color; null for none. Lines and outlines default to light gray.
width?
Section titled “width?”
optionalwidth?:number
Line width in pixels; 1 by default.