/** Returns the 6 coefficients values. */ public void getMatrix(final float[] matrix, int offset) { matrix[offset] = (float) getScaleX(); // m00 matrix[++offset] = (float) getShearY(); // m10 matrix[++offset] = (float) getShearX(); // m01 matrix[++offset] = (float) getScaleY(); // m11 matrix[++offset] = (float) getTranslateX(); // m02 matrix[++offset] = (float) getTranslateY(); // m12 }
/** * Returns the 6 coefficients values. */ public void getMatrix(final float[] matrix, int offset) { matrix[offset] = (float) getScaleX(); // m00 matrix[++offset] = (float) getShearY(); // m10 matrix[++offset] = (float) getShearX(); // m01 matrix[++offset] = (float) getScaleY(); // m11 matrix[++offset] = (float) getTranslateX(); // m02 matrix[++offset] = (float) getTranslateY(); // m12 }
/** * Returns the 6 coefficients values. */ public void getMatrix(final float[] matrix, int offset) { matrix[offset] = (float) getScaleX(); // m00 matrix[++offset] = (float) getShearY(); // m10 matrix[++offset] = (float) getShearX(); // m01 matrix[++offset] = (float) getScaleY(); // m11 matrix[++offset] = (float) getTranslateX(); // m02 matrix[++offset] = (float) getTranslateY(); // m12 }