[−][src]Function gdl::presets::text_shades
pub fn text_shades(background_img: &mut DynamicImage, main_text: &str)
Preset: Repeat the same text on each line, with each line changing in shade.
Arguments
img
- A mutable ref to a DynamicImage.main_text
- Main heading for the graphic.width
- u32 - Desired width of final graphicheight
- ù32 - Desired height of final graphic