T
- element typepublic interface Traversal<T>
Modifier and Type | Method and Description |
---|---|
void |
element(Rectangle rectangle,
T element)
Method gets called for each element contained in the tree.
|
void |
node(Rectangle rectangle)
Method gets called for each inner node in the tree.
|
void element(Rectangle rectangle, T element)
rectangle
- the minimal bounding box of the element.element
- the element itself.void node(Rectangle rectangle)
rectangle
- the minimal bounding box of the node.