com.sun.webkit.graphics.WCTransform Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openjfx-78-backport Show documentation
Show all versions of openjfx-78-backport Show documentation
This is a backport of OpenJFX 8 to run on Java 7.
The newest version!
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
*/
package com.sun.webkit.graphics;
import java.util.Arrays;
public final class WCTransform extends Ref {
private final double[] m;
public WCTransform(double m00, double m10, double m01, double m11,
double m02, double m12)
{
this.m = new double[6];
m[0] = m00;
m[1] = m10;
m[2] = m01;
m[3] = m11;
m[4] = m02;
m[5] = m12;
}
public double [] getMatrix() {
return Arrays.copyOf(m, m.length);
}
}