TransformCommand class

This canvas command describes either a single or multiple method calls canvas.translate(), canvas.rotate(), canvas.scale(), or canvas.transform().

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
matrix Matrix4
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tolerance double
getter/setter pairinherited

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 argument other 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
setFrom(Matrix4 matrix) → 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