public interface NodePainter
Known subtypesTextPainter
Interface for painting the content of a node in the Scene graph.
Methods
public abstract void paint(Graphics g, Rectangle bounds, Node node) | Paints node content in the given bounding rect on the provided Graphics context for the given node. |
Method details
paint
public abstract void paint(Graphics g, Rectangle bounds, Node node)Paints node content in the given bounding rect on the provided Graphics context for the given node.
Parameters
gGraphics- The graphics context to paint onto.
boundsRectangle- The bounding rect to paint into.
nodeNode- The node whose content we are painting.