Package igraph :: Module drawing :: Class NullDrawer
[hide private]
[frames] | no frames]

Class NullDrawer



 object --+    
          |    
ShapeDrawer --+
              |
             NullDrawer

Static drawer class which draws nothing.

This class is used for graph vertices with unknown shapes

Instance Methods [hide private]

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Static Methods [hide private]
  draw_path(ctx, cx, cy, w, h=None)
Draws the path of the shape on the given Cairo context, without stroking or filling it.

Inherited from ShapeDrawer: intersection_point


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

draw_path(ctx, cx, cy, w, h=None)
Static Method

 

Draws the path of the shape on the given Cairo context, without stroking or filling it.

This method must be overridden in derived classes implementing custom shapes and declared as a static method using staticmethod(...).
Overrides: ShapeDrawer.draw_path
(inherited documentation)