.. include:: headings.inc .. currentmodule:: lib.mvctree .. highlight:: python .. _lib.mvctree.NodePainter: ========================================================================================================================================== |phoenix_title| **NodePainter** ========================================================================================================================================== This is the interface expected of a nodepainter. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **NodePainter** .. raw:: html

Inheritance diagram of NodePainter

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.mvctree.NodePainter.__init__` :meth:`~lib.mvctree.NodePainter.Paint` location should be provided only to draw in an unusual position ================================================================================ ================================================================================ | |api| Class API =============== .. class:: NodePainter This is the interface expected of a nodepainter. .. method:: __init__(self, painter) .. method:: 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.