Skip to main content

render_offset

Function render_offset 

Source
pub fn render_offset(state: ScrollState, dir: ScrollDirection) -> Point
Expand description

The pixel offset a container subtracts from each child’s position during arrange. While dragging the raw offset is rubber-banded so over-scroll stretches; otherwise it is clamped to the valid range.