Pencil stroke width in pixels.
Pencil stroke color.
Pencil stroke opacity as a percentage (0–100).
Brush stroke width in pixels.
Brush stroke color.
Brush edge hardness as a percentage (0–100). Lower values produce a soft airbrush effect; higher values produce hard edges.
Brush stroke opacity as a percentage (0–100).
Clone Stamp brush width in pixels.
Clone Stamp opacity as a percentage (0–100).
Clone Stamp edge hardness as a percentage (0–100).
Eraser brush width in pixels.
Eraser opacity as a percentage (0–100).
Eraser edge hardness as a percentage (0–100).
Default stroke width in pixels for shape objects (Rectangle, Line, Arrow, Ellipse, Brackets).
Default stroke color for shape objects.
Default fill color for shape objects.
Use 'transparent' or a color with zero alpha to draw unfilled (outline-only) shapes.
OptionalobjectsDefault style overrides for all paint objects. Allows control over the initial appearance of each object type. Values specified here override lineWidth, lineColor, and fillColor for that specific type.
Default visual properties applied to each paint and object tool when the toolbar opens.
All values are optional, omitted properties fall back to the built-in defaults. User interactions during a session override these values and are persisted in
localStorage.Shape properties (
lineWidth,lineColor,fillColor) define the initial style for newly created Rectangle, Line, Arrow, Ellipse, and Brackets objects.See
PaintToolsPluginOptions.toolsOptions
Example