vizia::vg::utils::shadow_utils

Function draw_shadow

pub fn draw_shadow(
    canvas: &Canvas,
    path: &Handle<SkPath>,
    z_plane_params: impl Into<Point3>,
    light_pos: impl Into<Point3>,
    light_radius: f32,
    ambient_color: impl Into<Color>,
    spot_color: impl Into<Color>,
    flags: impl Into<Option<ShadowFlags>>,
)