Packagecom.yworks.canvas.drawing
Interfacepublic interface IPaintable
ImplementorsAbstractStyleRenderer, AbstractTextPaintable, ArrowPaintable, DefaultPortCandidateDescriptor, OverviewGraphPaintable, ShapePaintable

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



Public Methods
 MethodDefined by
  
paint(g:YGraphics, ctx:IPaintContext):void
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