TransformCommand class
This canvas command describes either a single or multiple method calls
canvas.translate()
, canvas.rotate()
, canvas.scale()
, or
canvas.transform()
.
- Inheritance
-
- Object
- CanvasCommand
- TransformCommand
Constructors
Properties
Methods
-
eq(
dynamic a, dynamic b) → bool -
Helper function to check the equality of any two objects.
inherited
-
equals(
covariant TransformCommand other) → bool -
Return true if this command is equal to
other
, up to the given absolute tolerance. The argumentother
is guaranteed to have the same type as the current command.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
repr(
dynamic a) → String -
Helper function to generate string representations of various
components of a command.
inherited
-
rotate(
double angle) → void -
scale(
double sx, double sy) → void -
toString(
) → String -
A string representation of this object.
override
-
transform(
Float64List matrix) → void -
translate(
double dx, double dy) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited