Interface NodePainter

All Known Implementing Classes:
TextPainter

public interface NodePainter
Interface for painting the content of a node in the Scene graph.
  • Method Summary

    Modifier and Type
    Method
    Description
    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

      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: The graphics context to paint onto.

      • bounds: The bounding rect to paint into.

      • node: The node whose content we are painting.