meo-skia-canvas
    Preparing search index...

    Type Alias Matrix

    Matrix:
        | string
        | DOMMatrix
        | { a: number; b: number; c: number; d: number; e: number; f: number }
        | FixedLenArray<number, 6>
        | FixedLenArray<number, 16>

    Every form this library accepts a transform in.

    A CSS transform string such as "rotate(20deg) scale(2)", a DOMMatrix, an object carrying the six 2D components, or a flat array of six (2D) or sixteen (3D) numbers. The standard's methods take only the six numbers spread across separate arguments; accepting the rest is this fork's extension.

    Type Declaration

    • string
    • DOMMatrix
    • { a: number; b: number; c: number; d: number; e: number; f: number }
      • a: number

        Horizontal scale.

      • b: number

        Vertical skew.

      • c: number

        Horizontal skew.

      • d: number

        Vertical scale.

      • e: number

        Horizontal translation.

      • f: number

        Vertical translation.

    • FixedLenArray<number, 6>
    • FixedLenArray<number, 16>