Scrollable interface.
This interface is implemented by all visual objects that can be scrolled. The unit of scrolling is pixel.
Parameters
Horizontal scrolling position in pixels.
Get scroll X offset.
Scrolling offset is the number of pixels this scrollable has been scrolled to left.
Parameters
Vertical scrolling position in pixels.
Get scroll Y offset.
Scrolling offset is the number of pixels this scrollable has been scrolled to down.
Parameters
True iff the scrolling is allowed.
Is the scrolling enabled.
Enabling scrolling allows the user to scroll the scrollable view interactively
Parameters
isScrollingEnabled
True iff the scrolling is allowed.
Enable or disable scrolling..
Enabling scrolling allows the user to scroll the scrollable view interactively
Parameters
xOffset.
Set scroll X offset.
Scrolling offset is the number of pixels this scrollable has been scrolled to left.