FluidScrollable.shallowScrollTo

Scroll to given child node.

interface FluidScrollable
Rectangle
shallowScrollTo
(
const Node child
,
Rectangle parentBox
,
Rectangle childBox
)

Parameters

child Node

Child to scroll to.

parentBox Rectangle

Outer box of this node (the scrollable).

childBox Rectangle

Outer box of the child node (the target).

Return Value

Type: Rectangle

New rectangle for the childBox.

Meta