Constructor
Instance of a spray brush
add type
Color of a brush
Density of a spray (number of dots per chunk)
Width of spray dots
Width variance of spray dots
When true, the free drawing is limited to the whiteboard size. Default to false.
false
Whether overlapping dots (rectangles) should be removed (for performance reasons)
Whether opacity of a dot should be random
Shadow object representing shadow of this shape. Backwards incompatibility note: This property replaces "shadowColor" (String), "shadowOffsetX" (Number), "shadowOffsetY" (Number) and "shadowBlur" (Number) since v1.2.12
Private sprayPrivate sprayStroke Dash Array.
Line endings style of a brush (one of "butt", "round", "square")
Corner style of a brush (one of "bevel", "round", "miter")
Maximum miter length (used for strokeLineJoin = "miter") of a brush's
Width of a spray
Private _isPrivate
Check is pointer is outside canvas boundaries
Private _resetPrivate _savePrivate _setPrivate _setProtected needsInvoked on mouse down
Invoked on mouse move
Generated using TypeDoc
See
demo