[−][src]Function gdl::background::gradient_background
pub fn gradient_background(width: u32, height: u32) -> DynamicImage
Create a gradient background. /// Returns a DynamicImage.
Arguments
width
- u32 - Desired width of final graphicheight
- u32 - Desired height of final graphic