The wrapper display object classes - what addCreatejs and friends accept.
The contract is "wraps a real createjs.DisplayObject": Animate's library
can only publish symbols (MovieClip) and image assets (Bitmap / Sprite)
as lib classes, and Shape / Text exist as inline members of published
symbols, but all of them are display objects. CreatejsGraphics is
deliberately NOT part of this union: the real createjs.Graphics is a
drawing-command container, not a DisplayObject (it is reached through
shape.graphics, never placed on a display list).
The wrapper display object classes - what addCreatejs and friends accept. The contract is "wraps a real createjs.DisplayObject": Animate's library can only publish symbols (MovieClip) and image assets (Bitmap / Sprite) as lib classes, and Shape / Text exist as inline members of published symbols, but all of them are display objects. CreatejsGraphics is deliberately NOT part of this union: the real createjs.Graphics is a drawing-command container, not a DisplayObject (it is reached through
shape.graphics, never placed on a display list).