@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="DOMMatrixReadOnly")
public class DOMMatrixReadOnly
extends java.lang.Object
| Constructor and Description |
|---|
DOMMatrixReadOnly()
The DOMMatrixReadOnly constructor creates a new DOMMatrixReadOnly object which represents 4x4 matrices, suitable for 2D and 3D operations.
|
DOMMatrixReadOnly(double[] init)
The DOMMatrixReadOnly constructor creates a new DOMMatrixReadOnly object which represents 4x4 matrices, suitable for 2D and 3D operations.
|
DOMMatrixReadOnly(JsArray<java.lang.Double> init)
The DOMMatrixReadOnly constructor creates a new DOMMatrixReadOnly object which represents 4x4 matrices, suitable for 2D and 3D operations.
|
DOMMatrixReadOnly(java.lang.String init)
The DOMMatrixReadOnly constructor creates a new DOMMatrixReadOnly object which represents 4x4 matrices, suitable for 2D and 3D operations.
|
| Modifier and Type | Method and Description |
|---|---|
double |
a() |
double |
b() |
double |
c() |
double |
d() |
double |
e() |
double |
f() |
DOMMatrix |
flipX()
The flipX() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the x-axis.
|
DOMMatrix |
flipY() |
static DOMMatrixReadOnly |
fromFloat32Array(Float32Array array32) |
static DOMMatrixReadOnly |
fromFloat64Array(Float64Array array64) |
static DOMMatrixReadOnly |
fromMatrix() |
static DOMMatrixReadOnly |
fromMatrix(DOMMatrixInit other) |
DOMMatrix |
inverse() |
boolean |
is2D() |
boolean |
isIdentity() |
double |
m11() |
double |
m12() |
double |
m13() |
double |
m14() |
double |
m21() |
double |
m22() |
double |
m23() |
double |
m24() |
double |
m31() |
double |
m32() |
double |
m33() |
double |
m34() |
double |
m41() |
double |
m42() |
double |
m43() |
double |
m44() |
DOMMatrix |
multiply() |
DOMMatrix |
multiply(DOMMatrixInit other) |
DOMMatrix |
rotate() |
DOMMatrix |
rotate(double rotX) |
DOMMatrix |
rotate(double rotX,
double rotY) |
DOMMatrix |
rotate(double rotX,
double rotY,
double rotZ) |
DOMMatrix |
rotateAxisAngle() |
DOMMatrix |
rotateAxisAngle(double x) |
DOMMatrix |
rotateAxisAngle(double x,
double y) |
DOMMatrix |
rotateAxisAngle(double x,
double y,
double z) |
DOMMatrix |
rotateAxisAngle(double x,
double y,
double z,
double angle) |
DOMMatrix |
rotateFromVector() |
DOMMatrix |
rotateFromVector(double x) |
DOMMatrix |
rotateFromVector(double x,
double y) |
DOMMatrix |
scale() |
DOMMatrix |
scale(double scaleX) |
DOMMatrix |
scale(double scaleX,
double scaleY) |
DOMMatrix |
scale(double scaleX,
double scaleY,
double scaleZ) |
DOMMatrix |
scale(double scaleX,
double scaleY,
double scaleZ,
double originX) |
DOMMatrix |
scale(double scaleX,
double scaleY,
double scaleZ,
double originX,
double originY) |
DOMMatrix |
scale(double scaleX,
double scaleY,
double scaleZ,
double originX,
double originY,
double originZ) |
DOMMatrix |
scale3d() |
DOMMatrix |
scale3d(double scale) |
DOMMatrix |
scale3d(double scale,
double originX) |
DOMMatrix |
scale3d(double scale,
double originX,
double originY) |
DOMMatrix |
scale3d(double scale,
double originX,
double originY,
double originZ) |
DOMMatrix |
scaleNonUniform() |
DOMMatrix |
scaleNonUniform(double scaleX) |
DOMMatrix |
scaleNonUniform(double scaleX,
double scaleY) |
DOMMatrix |
skewX() |
DOMMatrix |
skewX(double sx) |
DOMMatrix |
skewY() |
DOMMatrix |
skewY(double sy) |
Float32Array |
toFloat32Array() |
Float64Array |
toFloat64Array() |
java.lang.Object |
toJSON() |
DOMPoint |
transformPoint() |
DOMPoint |
transformPoint(DOMPointInit point) |
DOMMatrix |
translate()
The translate() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.
|
DOMMatrix |
translate(double tx)
The translate() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.
|
DOMMatrix |
translate(double tx,
double ty)
The translate() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.
|
DOMMatrix |
translate(double tx,
double ty,
double tz)
The translate() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.
|
public DOMMatrixReadOnly(@Nonnull
java.lang.String init)
public DOMMatrixReadOnly(@Nonnull
JsArray<java.lang.Double> init)
public DOMMatrixReadOnly(@Nonnull
double[] init)
public DOMMatrixReadOnly()
@JsProperty(name="a") public double a()
@JsProperty(name="b") public double b()
@JsProperty(name="c") public double c()
@JsProperty(name="d") public double d()
@JsProperty(name="e") public double e()
@JsProperty(name="f") public double f()
@JsProperty(name="is2D") public boolean is2D()
@JsProperty(name="isIdentity") public boolean isIdentity()
@JsProperty(name="m11") public double m11()
@JsProperty(name="m12") public double m12()
@JsProperty(name="m13") public double m13()
@JsProperty(name="m14") public double m14()
@JsProperty(name="m21") public double m21()
@JsProperty(name="m22") public double m22()
@JsProperty(name="m23") public double m23()
@JsProperty(name="m24") public double m24()
@JsProperty(name="m31") public double m31()
@JsProperty(name="m32") public double m32()
@JsProperty(name="m33") public double m33()
@JsProperty(name="m34") public double m34()
@JsProperty(name="m41") public double m41()
@JsProperty(name="m42") public double m42()
@JsProperty(name="m43") public double m43()
@JsProperty(name="m44") public double m44()
@Nonnull public static DOMMatrixReadOnly fromFloat32Array(@Nonnull Float32Array array32)
@Nonnull public static DOMMatrixReadOnly fromFloat64Array(@Nonnull Float64Array array64)
@Nonnull public static DOMMatrixReadOnly fromMatrix(@Nonnull DOMMatrixInit other)
@Nonnull public static DOMMatrixReadOnly fromMatrix()
@Nonnull public DOMMatrix flipX()
@Nonnull public DOMMatrix flipY()
@Nonnull public DOMMatrix inverse()
@Nonnull public DOMMatrix multiply(@Nonnull DOMMatrixInit other)
@Nonnull public DOMMatrix multiply()
@Nonnull public DOMMatrix rotate(double rotX, double rotY, double rotZ)
@Nonnull public DOMMatrix rotate(double rotX, double rotY)
@Nonnull public DOMMatrix rotate(double rotX)
@Nonnull public DOMMatrix rotate()
@Nonnull public DOMMatrix rotateAxisAngle(double x, double y, double z, double angle)
@Nonnull public DOMMatrix rotateAxisAngle(double x, double y, double z)
@Nonnull public DOMMatrix rotateAxisAngle(double x, double y)
@Nonnull public DOMMatrix rotateAxisAngle(double x)
@Nonnull public DOMMatrix rotateAxisAngle()
@Nonnull public DOMMatrix rotateFromVector(double x, double y)
@Nonnull public DOMMatrix rotateFromVector(double x)
@Nonnull public DOMMatrix rotateFromVector()
@Nonnull public DOMMatrix scale(double scaleX, double scaleY, double scaleZ, double originX, double originY, double originZ)
@Nonnull public DOMMatrix scale(double scaleX, double scaleY, double scaleZ, double originX, double originY)
@Nonnull public DOMMatrix scale(double scaleX, double scaleY, double scaleZ, double originX)
@Nonnull public DOMMatrix scale(double scaleX, double scaleY, double scaleZ)
@Nonnull public DOMMatrix scale(double scaleX, double scaleY)
@Nonnull public DOMMatrix scale(double scaleX)
@Nonnull public DOMMatrix scale()
@Nonnull public DOMMatrix scale3d(double scale, double originX, double originY, double originZ)
@Nonnull public DOMMatrix scale3d(double scale, double originX, double originY)
@Nonnull public DOMMatrix scale3d(double scale, double originX)
@Nonnull public DOMMatrix scale3d(double scale)
@Nonnull public DOMMatrix scale3d()
@Nonnull public DOMMatrix scaleNonUniform(double scaleX, double scaleY)
@Nonnull public DOMMatrix scaleNonUniform(double scaleX)
@Nonnull public DOMMatrix scaleNonUniform()
@Nonnull public DOMMatrix skewX(double sx)
@Nonnull public DOMMatrix skewX()
@Nonnull public DOMMatrix skewY(double sy)
@Nonnull public DOMMatrix skewY()
@Nonnull public Float32Array toFloat32Array()
@Nonnull public Float64Array toFloat64Array()
@Nonnull public java.lang.Object toJSON()
@Nonnull public DOMPoint transformPoint(@Nonnull DOMPointInit point)
@Nonnull public DOMPoint transformPoint()
@Nonnull public DOMMatrix translate(double tx, double ty, double tz)
@Nonnull public DOMMatrix translate(double tx, double ty)
@Nonnull public DOMMatrix translate(double tx)
@Nonnull public DOMMatrix translate()