pub fn layer_shadow_geometry(
layer: &GraphicsLayer,
transformed_bounds: Rect,
caster: Option<RoundedCornerShape>,
light: ShadowLight,
) -> LayerShadowGeometryExpand description
The ambient and spot passes of layer’s shadow over transformed_bounds
with the corners caster rounds it at, lit by light. Matches Skia’s
SurfaceDrawContext::drawFastShadow and SkDrawShadowMetrics.