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
Returns
IMatrix
Ext.draw.Matrix
public static createAffineMatrixFromTwoPair(x0?: number, y0?: number, x1?: number, y1?: number, x0p?: number, y0p?: number, x1p?: number, y1p?: number)
[Method] Return the affine matrix that transform two points x0 y0 and x1 y1 to x0p y0p and x1p y1p
Parameters
-
x0?: number optional
Number
-
y0?: number optional
Number
-
x1?: number optional
Number
-
y1?: number optional
Number
-
x0p?: number optional
Number
-
y0p?: number optional
Number
-
x1p?: number optional
Number
-
y1p?: number optional
Number
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?: number, y0?: number, x1?: number, y1?: number, x0p?: number, y0p?: number, x1p?: number, y1p?: number)
[Method] Return the affine matrix that transform two points x0 y0 and x1 y1 to x0p y0p and x1p y1p
Parameters
-
x0?: number optional
Number
-
y0?: number optional
Number
-
x1?: number optional
Number
-
y1?: number optional
Number
-
x0p?: number optional
Number
-
y0p?: number optional
Number
-
x1p?: number optional
Number
-
y1p?: number optional
Number
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
Returns
IBase
Ext.Base this class