public interface Traversal
Modifier and Type | Method and Description |
---|---|
void |
element(Rectangle rectangle,
int nodeId)
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, int nodeId)
rectangle
- the minimal bounding box of the element.nodeId
- the id of the element.void node(Rectangle rectangle)
rectangle
- the minimal bounding box of the node.