[][src]Function rustvis::drawing::create_gradient

pub fn create_gradient(width: u32, height: u32) -> DynamicImage

Create a gradient element in the shape of a Rect.

Returns a DynamicImage.

Arguments