Class Matrix

Index

Methods

Methods

public static addMembers(members?: any)

[Method] Add methods properties to the prototype of this class

Parameters

  • members?: any optional

    Object

public static addStatics(members?: any): IBase

[Method] Add override static properties of this class

Parameters

  • members?: any optional

    Object

Returns

IBase

Ext.Base this

public static callParent(args?: any)

[Method]

Parameters

  • args?: any optional

    Object

public static create(mat?: any): IMatrix

[Method] Create a matrix from mat

Parameters

  • mat?: any optional

    Mixed

Returns

IMatrix

Ext.draw.Matrix

public static createAffineMatrixFromTwoPair(x0?: any, y0?: any, x1?: any, y1?: any, x0p?: any, y0p?: any, x1p?: any, y1p?: any)

[Method] Return the affine matrix that transform two points x0 y0 and x1 y1 to x0p y0p and x1p y1p

Parameters

  • x0?: any optional

    Object

  • y0?: any optional

    Object

  • x1?: any optional

    Object

  • y1?: any optional

    Object

  • x0p?: any optional

    Object

  • y0p?: any optional

    Object

  • x1p?: any optional

    Object

  • y1p?: any optional

    Object

public static createAlias(alias?: any, origin?: any)

[Method] Create aliases for existing prototype methods

Parameters

  • alias?: any optional

    String/Object The new method name, or an object to set multiple aliases. See flexSetter

  • origin?: any optional

    String/Object The original method name

public static createPanZoomFromTwoPair(x0?: any, y0?: any, x1?: any, y1?: any, x0p?: any, y0p?: any, x1p?: any, y1p?: any)

[Method] Return the affine matrix that transform two points x0 y0 and x1 y1 to x0p y0p and x1p y1p

Parameters

  • x0?: any optional

    Object

  • y0?: any optional

    Object

  • x1?: any optional

    Object

  • y1?: any optional

    Object

  • x0p?: any optional

    Object

  • y0p?: any optional

    Object

  • x1p?: any optional

    Object

  • y1p?: any optional

    Object

public static fly(elements?: Array<any>): IMatrix

[Method] Create a flyweight to wrap the given array

Parameters

  • elements?: Array<any> optional

    Array

Returns

IMatrix

Ext.draw.Matrix

public static getName(): string

[Method] Get the current class name in string format

Returns

string

String className

public static override(members?: any): IBase

[Method] Override members of this class

Parameters

  • members?: any optional

    Object The properties to add to this class. This should be specified as an object literal containing one or more properties.

Returns

IBase

Ext.Base this class