Skip to main content

elevation

Function elevation 

pub fn elevation(
    scene: &mut Scene,
    transform: Affine,
    rect: Rect,
    token: &Shadow,
)
Expand description

Paint an elevation-token shadow under rect, square-cornered. For callers with no radius to follow — anything rounded must call shadow instead, or it gets a shadow of a different shape than itself.