CanvasBackground class abstract
Abstract definition for a LazyCanvas background.
Constructors
- CanvasBackground.new({Color bgColor = Colors.white})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Canvas canvas, Offset screenOffset, Offset canvasOffset, double scale, Size canvasSize) → void -
draw the backround on this context. Implement this to have
different kinds of backgrounds
screenOffset
is the screen space offset for clippingcanvasOffset
is the grid space offset from the controller -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited