Packagecom.yworks.canvas
Classpublic class PrintSprite
InheritancePrintSprite Inheritance flash.display.Sprite

A Sprite that dispatches a complete event when painting has finished.

CanvasComponent#createSprite() returns a PrintSprite instance that can be used to make sure that painting has finished before printing the sprite, or exporting ot to an image.

See also

CanvasComponent.createSprite()


Public Properties
 PropertyDefined By
  paintComplete : Boolean
[read-only] Whether painting this sprite has finished.
PrintSprite
Events
 Event Summary Defined By
  Dispatched when painting the sprite has finished.PrintSprite
Property Detail
paintCompleteproperty
paintComplete:Boolean  [read-only]

Whether painting this sprite has finished.


Implementation
    public function get paintComplete():Boolean
Event Detail
complete Event
Event Object Type: flash.events.Event
Event.type property = flash.events.Event.COMPLETE

Dispatched when painting the sprite has finished.