copy method

PaintedModel copy()

Creates a copy of this PaintedModel instance.

Implementation

PaintedModel copy() {
  return PaintedModel(
    mode: mode,
    offsets: offsets,
    color: color,
    strokeWidth: strokeWidth,
    fill: fill,
    hit: hit,
    opacity: opacity,
  );
}