[−][src]Function gdl::text::draw_upsidedown_text
pub fn draw_upsidedown_text(
img: &mut DynamicImage,
text: &str,
x: u32,
y: u32,
font: &str,
font_size: f32,
rgb: &Rgb
)
Draw upside-down text.
Arguments
img
- Mutable reference to a DynamicImage.text
- Text string to be drawn.x
- X-coordinate of top corner of text.y
- Y coordinae of top corner of text.font
- Font name. Fonts available include Roboto-Regular, BebasKai, Roboto-Light, among many others. Full list of fonts available coming soon.font_size
: f32 that represents the font's size.rgb
: Rgb text color.