Packagecom.yworks.canvas.drawing
Classpublic class YDisplayObject
InheritanceYDisplayObject Inheritance flash.display.Sprite

A simple sprite with a YGraphics context and a property to store a render data cache object in.

Used by most IDisplayObjectCreator implementations as DisplayObject to create.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
Creates a new instance.
YDisplayObject
Property Detail
renderDataCacheproperty
renderDataCache:Object

An arbitrary object which can be used to determine a state of this sprite.


Implementation
    public function get renderDataCache():Object
    public function set renderDataCache(value:Object):void
yGraphicsproperty 
yGraphics:YGraphics  [read-only]

The YGraphics context that can be used to draw on this display object.


Implementation
    public function get yGraphics():YGraphics
Constructor Detail
YDisplayObject()Constructor
public function YDisplayObject()

Creates a new instance.

By default both mouseChildren and mouseEnabled are set to false.