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

g Graphics
The graphics context to paint onto.
bounds Rectangle
The bounding rect to paint into.
node Node
The node whose content we are painting.