paintedModel property
PaintedModel
get
paintedModel
Getter for the current state of the painted model.
Returns a PaintedModel instance representing the current state of the painting.
Implementation
PaintedModel get paintedModel => PaintedModel(
mode: mode,
offsets: mode == PaintModeE.freeStyle ? offsets : [start, end],
color: color,
strokeWidth: strokeWidth,
fill: fill,
opacity: opacity,
);