meo-skia-canvas
    Preparing search index...

    Interface DOMMatrixInit

    The fields a transform can be read from, 2D or 3D.

    Adds the cells of the full 4x4 matrix to the six DOMMatrix2DInit carries. A cell left out takes its value from the identity matrix, so naming only the 2D fields describes a 2D transform without having to state the other ten.

    interface DOMMatrixInit {
        a?: number;
        b?: number;
        c?: number;
        d?: number;
        e?: number;
        f?: number;
        is2D?: 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;
    }

    Hierarchy (View Summary)

    Index
    a?: number

    Horizontal scale; the same value as m11.

    b?: number

    Vertical skew; the same value as m12.

    c?: number

    Horizontal skew; the same value as m21.

    d?: number

    Vertical scale; the same value as m22.

    e?: number

    Horizontal translation; the same value as m41.

    f?: number

    Vertical translation; the same value as m42.

    is2D?: boolean

    Whether to treat this as a 2D transform.

    Left out, it is inferred: the matrix is 2D unless one of the 3D cells below departs from the identity. Setting it to true alongside such a cell is a TypeError.

    m11?: number

    Row 1, column 1; the same value as a.

    m12?: number

    Row 1, column 2; the same value as b.

    m13?: number

    Row 1, column 3.

    m14?: number

    Row 1, column 4.

    m21?: number

    Row 2, column 1; the same value as c.

    m22?: number

    Row 2, column 2; the same value as d.

    m23?: number

    Row 2, column 3.

    m24?: number

    Row 2, column 4.

    m31?: number

    Row 3, column 1.

    m32?: number

    Row 3, column 2.

    m33?: number

    Row 3, column 3.

    m34?: number

    Row 3, column 4.

    m41?: number

    Row 4, column 1; the same value as e.

    m42?: number

    Row 4, column 2; the same value as f.

    m43?: number

    Row 4, column 3.

    m44?: number

    Row 4, column 4.