[−][src]Function gdl::presets::text_banner
pub fn text_banner(
background_img: &mut DynamicImage,
main_text: &str,
small_text: &str
)
Preset: text banner.
Arguments
img
- A mutable ref to a DynamicImage.main_text
- Main heading for the graphic.small_text
- Sub-heading/smaller text.width
- u32 - Desired width of final graphicheight
- u32 - Desired height of final graphic