NodePainter
This is the interface expected of a nodepainter.
Inheritance Diagram
Inheritance diagram for class NodePainter
Methods Summary
__init__ |
|
Paint |
location should be provided only to draw in an unusual position |
Class API
-
class NodePainter
This is the interface expected of a nodepainter.
Methods
-
__init__(self, painter)
-
Paint(self, node, dc, location = None)
location should be provided only to draw in an unusual position
(not the node’s normal position), otherwise the node’s projected x and y
coordinates will be used.