Creates an instance of Transformation.
The name of the transformation.
The attributes required to apply the transformation.
Other transformations that are applied relative to the parent transformation.
Adds a Rotate transformation to the current transformation.
The amount to rotate clockwise in degrees. Defaults to 0
.
The current instance of Transformation for chaining.
Adds a Scale transformation to the current transformation.
The amount to scale in the positive x-axis. Defaults to 1
.
The amount to scale in the positive y-axis. Defaults to 1
.
The current instance of Transformation for chaining.
Adds a Translate transformation to the current transformation.
The amount to translate along the positive x-axis. Defaults to 0
.
The amount to translate along the positive y-axis. Defaults to 0
.
The current instance of Transformation for chaining.
Represents a transformation that can be applied to a Shape.