Skip to main content

frames

Function frames 

Source
pub fn frames(
    bounds: Rect,
    visible: Rect,
    scale: f64,
    content_height: f64,
    content_flipped: bool,
) -> Frames
Expand description

bounds is where the whole view would be; visible the part that may show (e.g. inside a scroll area). Both are snapped. When the content view isn’t flipped, the clip frame’s y is measured from the bottom.