Class Point

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(): any

[Method] Create a new instance of this Class

Returns

any

Object the created instance.

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 from(object?: any): IPoint

[Method] Returns a new point from an object that has x and y properties if that object is not an instance of Ext util Point

Parameters

  • object?: any optional

    Object

Returns

IPoint

Ext.util.Point

public static fromEvent(e?: Event): IPoint

[Method] Returns a new instance of Ext util Point based on the pageX pageY values of the given event

Parameters

  • e?: Event optional

    Event The event.

Returns

IPoint

Ext.util.Point

public static fromTouch(touch?: Event): IPoint

[Method] Returns a new instance of Ext util Point based on the pageX pageY values of the given touch

Parameters

  • touch?: Event optional

    Event

Returns

IPoint

Ext.util.Point

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