Sketchbook Controller
SketchbookController interacts with Sketchbook and it allows you to control the canvas and all of the components with it.
Constructors
Functions
Link copied to clipboard
Clear the image bitmap.
Link copied to clipboard
Clear the drawn paths and redo paths on canvas..
Link copied to clipboard
Returns the current Sketchbook's bitmap.
Link copied to clipboard
Sets a background color.
Link copied to clipboard
Sets the erase mode or not.
Link copied to clipboard
Sets the radius size of the erase circle.
Link copied to clipboard
Sets an ImageBitmap to draw on the canvas as a background.
Link copied to clipboard
Sets a color list as a linear shader to the paint.
Link copied to clipboard
Sets an alpha to the drawPaint.
Link copied to clipboard
Sets a Color to the drawPaint.
Link copied to clipboard
Sets a PaintingStyle to the drawPaint.
Link copied to clipboard
Sets a Shader to the drawPaint.
Link copied to clipboard
Sets a stroke width to the drawPaint.
Link copied to clipboard
Sets a PathEffect to the drawPaint.
Link copied to clipboard
Sets a rainbow shader to the paint.
Link copied to clipboard
Sets an index of the selected color.
Link copied to clipboard
Toggles the erase mode.