public static class IncrementalMountRenderCoreExtension.Visitor extends java.lang.Object implements LayoutResultVisitor<IncrementalMountRenderCoreExtension.Results>
Constructor and Description |
---|
Visitor(IncrementalMountRenderCoreExtension.InputProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
visit(RenderTreeNode parent,
Node.LayoutResult<?> result,
Rect bounds,
int x,
int y,
int position,
IncrementalMountRenderCoreExtension.Results results)
This API is called for every LayoutResult during a layout pass.
|
public Visitor(IncrementalMountRenderCoreExtension.InputProvider provider)
public void visit(RenderTreeNode parent, Node.LayoutResult<?> result, Rect bounds, int x, int y, int position, IncrementalMountRenderCoreExtension.Results results)
LayoutResultVisitor
visit
in interface LayoutResultVisitor<IncrementalMountRenderCoreExtension.Results>
parent
- The parent RenderTreeNode
.result
- The Node.LayoutResult
being visited.bounds
- The bounds of this Node.LayoutResult
relative to its parent.x
- The absolute x position.y
- The absolute y position.position
- The position of the layout result.results
- The state the visitor can write to.