public void prepend (double[] matrix, MatrixType type, int offset)

Prepends the transform specified by the array to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms() list, the specified transform first and this transform second.

From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified transform.

Parameters:
matrix    array containing the flattened transformation matrix to be prepended
type    type of matrix contained in the array
offset    offset of the first matrix element in the array

Exceptions:
IndexOutOfBoundsException    if the array is too short for the specified type and offset
IllegalArgumentException    if the specified matrix is not affine (the last line of a 2D 3x3 matrix is not [0, 0, 1] or the last line of a 3D 4x4 matrix is not [0, 0, 0, 1].
NullPointerException    if the specified matrix or type is null

Since:  JavaFX 8.0