[][src]Function rustvis::drawing::draw_preset_rect_gradient

pub fn draw_preset_rect_gradient(
    img: &mut DynamicImage,
    width: u32,
    height: u32,
    x_pos: u32,
    y_pos: u32,
    preset_name: &str
)

Preset: Draw a gradient rectangle filled with a gradient.

Arguments