Packagecom.yworks.canvas.drawing
Interfacepublic interface IPaintable
Implementors OverviewGraphPaintable, ShapePaintable, VoidPaintable

Simple interface which is used by implementations that know how to render something into a given Graphics context.



Public Methods
 MethodDefined By
  
Performs the actual painting into the given graphics context.
IPaintable
Method Detail
paint()method
public function paint(g:YGraphics, ctx:IPaintContext):void

Performs the actual painting into the given graphics context.

Parameters

g:YGraphics — The graphics context to paint into
 
ctx:IPaintContext — Currently not used