(private) new xrx.viewbox.FastAffineTransform()
A class providing optimizations and extensions for class
goog.math.AffineTransform.
Methods
-
xrx.viewbox.FastAffineTransform#getClone() → {xrx.viewbox.FastAffineTransform}
-
Returns a temporary clone of this affine transform without allocating a new object.
Returns:
The clone. -
xrx.viewbox.FastAffineTransform#getIdentity() → {xrx.viewbox.FastAffineTransform}
-
Returns an identity matrix object without allocating a new object.
Returns:
The identity matrix. -
xrx.viewbox.FastAffineTransform#getInverse() → {xrx.viewbox.FastAffineTransform}
-
Returns an inverse matrix object without allocating a new object.
Returns:
The inverse matrix. -
xrx.viewbox.FastAffineTransform#getRotation() → {number}
-
Returns the current rotation of this transformation matrix in a normalized form (either 0, 90, 180, or 270).
Returns:
The rotation in degrees.- Type
- number
-
xrx.viewbox.FastAffineTransform#getScale() → {number}
-
Returns the current scale of this transformation matrix.
Returns:
The scale.- Type
- number
-
xrx.viewbox.FastAffineTransform#transformPoint(The, The) → {Array.<number>}
-
Transforms a coordinate point according to this transformation matrix.
Parameters:
Name Type Description The
Array.<number> coordinate point [x, y] to be transformed. The
Array.<number> target point to store the result of the transformation. Returns:
A coordinate point.- Type
- Array.<number>