Skip to main content

shadow_falloff

Function shadow_falloff 

Source
pub fn shadow_falloff(x: f32) -> f32
Expand description

Skia’s penumbra falloff at x, the ramp’s coordinate: 0 on the outer edge, 1 where the shadow is whole, read as its table is.