PreviewStyle
How a ToolView shape looks. Points are in the coordinates of the context being
edited, or, with screen, [x, y] logical viewport pixels.
Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor?:Color| {a?:number;b:number;g:number;r:number; }
Dark gray by default.
screen?
Section titled “screen?”
optionalscreen?:boolean
stipple?
Section titled “stipple?”
optionalstipple?:"solid"|"dashed"|"dotted"
width?
Section titled “width?”
optionalwidth?:number
Line width, or point size, in logical pixels; 1 by default, 6 for points.