Creates a builder.
Optionalqueue: Matrix[]
Initial matrices, most recently added first.
Removes all recorded matrices.
This builder, for chaining.
Returns a recorded matrix.
Position in insertion order (0 is the first added).
The matrix at that position.
Combines the recorded matrices into one; the first added is applied first.
The combined transform, or the identity matrix when nothing is recorded.
Inserts a matrix.
Position in insertion order (0 is the first added).
The matrix to insert.
This builder, for chaining.
Removes the most recently added matrix.
This builder, for chaining.
Adds a matrix after all others; it is applied last.
The matrix to add.
This builder, for chaining.
Removes the matrix at this position (counted from the last added, same as getAt).
Adds a rotation.
Rotation angle; in degrees unless isRadians is true.
OptionalisRadians: boolean
Whether angle is in radians. Defaults to false.
This builder, for chaining.
Adds a scale.
Optionalsx: number | null
Horizontal scale. Defaults to 1.
Optionalsy: number | null
Vertical scale. Defaults to sx.
This builder, for chaining.
Replaces a recorded matrix.
Position in insertion order (0 is the first added).
The new matrix.
This builder, for chaining.
Adds a skew.
Horizontal skew factor.
Vertical skew factor.
This builder, for chaining.
Adds a translation.
Optionalx: number
Horizontal offset. Defaults to 0.
Optionaly: number
Vertical offset. Defaults to 0.
This builder, for chaining.
Translates by (x2 − x1, y2 − y1).
Core.Math.TransformationBuilder: records transforms in call order and multiplies them in order in getFinalTransform. Indexes follow insertion order (getAt(0) is the first added and first applied; the internal array is stored reversed).