Skip to main content

shadow

Function shadow 

Source
pub fn shadow(
    outline: Outline,
    std_dev: f64,
    c: Color,
    list: &mut Vec<Draw>,
    images: &mut Vec<ImageData>,
)
Expand description

Adds outline’s shadow — blurred by a Gaussian of std_dev pixels and colored c — to list, and each image it paints, in order, to images.