sketch_model library

Classes

Blank
Brush
Circle
Represents a circle drawing tool.
Eraser
Represents an eraser tool in the sketch canvas.
Highlighter
Represents a highlighter tool for drawing semi-transparent strokes.
Line
Represents a straight line drawing tool.
Pencil
Represents a pencil tool for freehand drawing.
Rectangle
Represents a rectangular shape drawing tool.
SketchConfig
Drawing tool preferences.
SketchContent
This class defines a common interface and structure for various types of drawing tools and shapes (e.g., pencil, brush, eraser, line, rectangle, etc.). It enforces the implementation of drawing, serialization to JSON, and SVG export.
SketchToolConfig
Drawing Tool Settings

Enums

EraserMode
SketchToolType
Defines the type of sketch tool available.