Operations<T> class abstract

Implementers

Constructors

Operations()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

mirror(Axis axis, [double centerX = 0.0, double centerY = 0.0]) → T
Mirrors this over vertical or horizontal line that goes though centerX,centerY.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotate(double angle, [double centerX = 0.0, double centerY = 0.0]) → T
Returns a new T rotated angle radians around centerX,centerY.
scale(num scaleX, [num? scaleY]) → T
Scales by scaleX and scaleY. scaleY defaults to scaleX if not provided.
toString() String
A string representation of this object.
inherited
translate(num x, num y) → T
Returns a new T translated by x and y.

Operators

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