TextPainter
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.
g: The graphics context to paint onto.
g
bounds: The bounding rect to paint into.
bounds
node: The node whose content we are painting.
node