Static Member Summary
Static Public Members | ||
public static get |
propsTypes: {...undefined: Object, "width": string, "height": string, "xOffset": string, "yOffset": string, "xOrigin": string, "yOrigin": string} |
Static Method Summary
Static Public Methods | ||
public static |
factory(): * |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
height: * |
|
public set |
|
|
public get |
width: * |
|
public set |
|
|
public get |
xOffset: * |
|
public set |
|
|
public get |
xOrigin: * |
|
public set |
|
|
public get |
yOffset: * |
|
public set |
|
|
public get |
yOrigin: * |
|
public set |
|
Method Summary
Public Methods | ||
public |
containsPoint(globalPoint: *, layer: undefined): * |
Inherited Summary
From class Component | ||
public static get |
propsTypes: * |
|
public static |
Component factory. |
|
public get |
|
|
public |
[name]: * |
|
public |
deserialize(json: *) Deserialize JSON properties into this component. |
|
public |
dispose() Destructor (dispose internal resources and detach from entity). |
|
public |
Called when action arrived. |
|
public |
onAlterActionArguments(name: string, args: *): array | undefined Called when asked to alter arrived action parameters. |
|
public |
onAttach() Called after attached to entity. |
|
public |
onDetach() Called before detached from entity. |
|
public |
onPropertySerialize(name: string, value: *): * Called when property is serialized. |
|
public |
onPropertySetup(name: string, value: *) Called when given property is deserialized. |
|
public |
serialize(): * Serialize component into JSON data. |
From class Shape | ||
public static get |
propsTypes: {"layers": string} |
|
public static |
factory(): * |
|
public get |
|
|
public set |
|
|
public |
acceptsLayer(name: *): * |
|
public |
containsPoint(globalPoint: *, layer: undefined) |
|
public |
containsPointInChildren(globalPoint: *, layer: undefined): * |
|
public |
dispose() |
Static Public Members
Static Public Methods
Public Constructors
Public Members
public get height: * source
public set height source
public get width: * source
public set width source
public get xOffset: * source
public set xOffset source
public get xOrigin: * source
public set xOrigin source
public get yOffset: * source
public set yOffset source
public get yOrigin: * source
public set yOrigin source
Public Methods
public containsPoint(globalPoint: *, layer: undefined): * source
Override:
Shape#containsPointParams:
Name | Type | Attribute | Description |
globalPoint | * | ||
layer | undefined |
|
Return:
* |