[−][src]Function gdl::presets::repeat_text
pub fn repeat_text(background_img: &mut DynamicImage, main_text: &str)
Preset: Repeat the same text on each line.
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