interface DOMMatrix {
    a: number;
    b: number;
    c: number;
    d: number;
    e: number;
    f: number;
    is2D: boolean;
    isIdentity: boolean;
    m11: number;
    m12: number;
    m13: number;
    m14: number;
    m21: number;
    m22: number;
    m23: number;
    m24: number;
    m31: number;
    m32: number;
    m33: number;
    m34: number;
    m41: number;
    m42: number;
    m43: number;
    m44: number;
    flipX(): DOMMatrix;
    flipY(): DOMMatrix;
    inverse(): DOMMatrix;
    invertSelf(): DOMMatrix;
    multiply(other?): DOMMatrix;
    multiplySelf(other?): DOMMatrix;
    preMultiplySelf(other?): DOMMatrix;
    rotate(rotX?, rotY?, rotZ?): DOMMatrix;
    rotateAxisAngle(x?, y?, z?, angle?): DOMMatrix;
    rotateAxisAngleSelf(x?, y?, z?, angle?): DOMMatrix;
    rotateFromVector(x?, y?): DOMMatrix;
    rotateFromVectorSelf(x?, y?): DOMMatrix;
    rotateSelf(rotX?, rotY?, rotZ?): DOMMatrix;
    scale(scaleX?, scaleY?, scaleZ?, originX?, originY?, originZ?): DOMMatrix;
    scale3d(scale?, originX?, originY?, originZ?): DOMMatrix;
    scale3dSelf(scale?, originX?, originY?, originZ?): DOMMatrix;
    scaleNonUniform(scaleX?, scaleY?): DOMMatrix;
    scaleSelf(scaleX?, scaleY?, scaleZ?, originX?, originY?, originZ?): DOMMatrix;
    setMatrixValue(transformList): DOMMatrix;
    skewX(sx?): DOMMatrix;
    skewXSelf(sx?): DOMMatrix;
    skewY(sy?): DOMMatrix;
    skewYSelf(sy?): DOMMatrix;
    toFloat32Array(): Float32Array;
    toFloat64Array(): Float64Array;
    toJSON(): any;
    toString(): string;
    transformPoint(point?): DOMPoint;
    translate(tx?, ty?, tz?): DOMMatrix;
    translateSelf(tx?, ty?, tz?): DOMMatrix;
}

Hierarchy (view full)

Properties

a: number
b: number
c: number
d: number
e: number
f: number
is2D: boolean
isIdentity: boolean
m11: number
m12: number
m13: number
m14: number
m21: number
m22: number
m23: number
m24: number
m31: number
m32: number
m33: number
m34: number
m41: number
m42: number
m43: number
m44: number

Methods

  • Parameters

    • Optional x: number
    • Optional y: number
    • Optional z: number
    • Optional angle: number

    Returns DOMMatrix

  • Parameters

    • Optional x: number
    • Optional y: number

    Returns DOMMatrix

  • Parameters

    • Optional rotX: number
    • Optional rotY: number
    • Optional rotZ: number

    Returns DOMMatrix

  • Parameters

    • Optional scaleX: number
    • Optional scaleY: number
    • Optional scaleZ: number
    • Optional originX: number
    • Optional originY: number
    • Optional originZ: number

    Returns DOMMatrix

  • Parameters

    • Optional scale: number
    • Optional originX: number
    • Optional originY: number
    • Optional originZ: number

    Returns DOMMatrix

  • Parameters

    • Optional scale: number
    • Optional originX: number
    • Optional originY: number
    • Optional originZ: number

    Returns DOMMatrix

  • Parameters

    • Optional scaleX: number
    • Optional scaleY: number
    • Optional scaleZ: number
    • Optional originX: number
    • Optional originY: number
    • Optional originZ: number

    Returns DOMMatrix

  • Parameters

    • Optional tx: number
    • Optional ty: number
    • Optional tz: number

    Returns DOMMatrix