Skip to main content

paint_scrim

Function paint_scrim 

pub fn paint_scrim(
    scene: &mut Scene,
    transform: Affine,
    theme: &Theme,
    layout: &ModalLayout,
    drawn_card: Rect,
)
Expand description

Paint the scrim behind a floating sheet drawn in drawn_card, which differs from layout.card while it arrives or leaves; a full-window page has none.