All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental2.svg.SVGMatrix Maven / Gradle / Ivy

The newest version!
package elemental2.svg;

import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class SVGMatrix {
  public double a;
  public double b;
  public double c;
  public double d;
  public double e;
  public double f;

  public native SVGMatrix flipX();

  public native SVGMatrix flipY();

  public native SVGMatrix inverse();

  public native SVGMatrix multiply(SVGMatrix secondMatrix);

  public native SVGMatrix rotate(double angle);

  public native SVGMatrix rotateFromVector(double x, double y);

  public native SVGMatrix scale(double scaleFactor);

  public native SVGMatrix scaleNonUniform(double scaleFactorX, double scaleFactorY);

  public native SVGMatrix skewX(double angle);

  public native SVGMatrix skewY(double angle);

  public native SVGMatrix translate(double x, double y);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy