DotGridBackgroundCpu class

Inheritance

Constructors

DotGridBackgroundCpu.new({double size = 2.0, double spacing = 50.0, Color dotColor = Colors.black12, Color backgroundColor = Colors.white, bool naturalPan = true})
const

Properties

backgroundColor Color
final
bgColor Color
the fill color of background
finalinherited
dotColor Color
final
hashCode int
The hash code for this object.
no setterinherited
naturalPan bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
final
spacing double
final

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 clipping canvasOffset is the grid space offset from the controller
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited