TreeAction.beforeDraw

Called before each drawImpl call of any node in the tree, so supplying parent nodes before their children.

This might not be called if the node is offscreen. If you need to find all nodes, try beforeResize.

  1. void beforeDraw(Node node, Rectangle space, Rectangle paddingBox, Rectangle contentBox)
  2. void beforeDraw(Node node, Rectangle space)

Parameters

node Node

Node that's about to be drawn.

space Rectangle

Space given for the node.

paddingBox Rectangle

Padding box of the node.

contentBox Rectangle

Content box of teh node.

Meta