[][src]Function rustvis::drawing::create_gradient_preset

pub fn create_gradient_preset(
    width: u32,
    height: u32,
    name: &str
) -> DynamicImage

Apply a preset gradient by passing in a name.

Arguments