Packagecom.yworks.canvas.drawing
Classpublic class VoidPaintable
InheritanceVoidPaintable Inheritance Object
Implements IPaintable

A paintable that doesn't draw anything.



Public Properties
 PropertyDefined By
  instance : IPaintable
[static] [read-only] The static shared instance.
VoidPaintable
Public Methods
 MethodDefined By
  
Performs the actual painting into the given graphics context.
VoidPaintable
Property Detail
instanceproperty
instance:IPaintable  [read-only]

The static shared instance.


Implementation
    public static function get instance():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