Skip to main content

shadow_bounds

Function shadow_bounds 

pub fn shadow_bounds(rect: Rect, token: &Shadow) -> Option<Rect>
Expand description

Every pixel shadow can paint under rect, antialiasing included, in rect’s coordinates; None when it paints nothing.