Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "matrix"

Contains utility methods for transforming css matrixes. All methods in this module are experimental and may be changed in a non-major version.

Index

Variables

getTransformMatrix

getTransformMatrix: function

Returns the affine matrix representation of the transformation.

param

Property and value of the transformation.

Type declaration

    • (__namedParameters: object): number[]
    • Parameters

      • __namedParameters: object
        • property: any
        • value: any

      Returns number[]

matrixArrayToCssMatrix

matrixArrayToCssMatrix: function

Returns the css matrix representation of an affine transformation matrix

param

The flat matrix array to be transformed

Type declaration

    • (m: number[]): number[]
    • Parameters

      • m: number[]

      Returns number[]

Functions

decompose2DTransformMatrix

  • QR decomposition using the Gram–Schmidt process. Decomposes a css matrix to simple transforms - translate, rotate and scale.

    Parameters

    • matrix: number[]

      The css matrix array to decompose.

    Returns TransformFunctionsInfo

multiplyAffine2d

  • multiplyAffine2d(m1: number[], m2: number[]): number[]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method