| Package | com.yworks.canvas.drawing |
| Class | public class YDisplayObject |
| Inheritance | YDisplayObject flash.display.Sprite |
YGraphics context
and a property to store a render data cache object in.
Used by most IDisplayObjectCreator implementations
as DisplayObject to create.
| Property | Defined By | ||
|---|---|---|---|
| renderDataCache : Object
An arbitrary object which can be used to determine a state of this sprite. | YDisplayObject | ||
| yGraphics : YGraphics [read-only]
The YGraphics context that can be used to draw on this
display object. | YDisplayObject | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new instance. | YDisplayObject | ||
| renderDataCache | property |
renderDataCache:ObjectAn arbitrary object which can be used to determine a state of this sprite.
public function get renderDataCache():Object public function set renderDataCache(value:Object):void| yGraphics | property |
yGraphics:YGraphics [read-only]
The YGraphics context that can be used to draw on this
display object.
public function get yGraphics():YGraphics| YDisplayObject | () | Constructor |
public function YDisplayObject()Creates a new instance.
By default both mouseChildren and mouseEnabled
are set to false.