new POM.GraphicsElement(manager, data)
POM Graphics Element
Name | Type | Description |
---|---|---|
manager |
Manager | the core POM Manager |
data |
Object | data for the element |
Extends
- PIXI.Graphics
Methods
-
getData(){Object}
-
get data of SpriteElement (including defaults)
Returns:
Type Description Object data representing the graphics element -
updateData(data)
-
update data of graphics from JSON decoded object
Name Type Description data
Object JSON decoded object representing the content