Mixin: BrushMixin

BrushMixin

Adds Brush Features
Source:

Methods


brush( [brush])

If brush is specified, sets the brush settings and returns the instance itself. If brush is true, renders its brush. If brush is not specified, returns the instance's current brush setting.
Parameters:
Name Type Argument Default Description
brush boolean <optional>
false
Source:
Returns:
Type
brush | BrushMixin
Example
brush.brush(true); //shows brush