Trait opencv::prelude::TextTrait

source ·
pub trait TextTrait: TextTraitConst {
    fn as_raw_mut_Text(&mut self) -> *mut c_void;

    fn set_text(&mut self, val: &str) { ... }
    fn set_org(&mut self, val: Point) { ... }
    fn set_ff(&mut self, val: i32) { ... }
    fn set_fs(&mut self, val: f64) { ... }
    fn set_color(&mut self, val: Scalar) { ... }
    fn set_thick(&mut self, val: i32) { ... }
    fn set_lt(&mut self, val: i32) { ... }
    fn set_bottom_left_origin(&mut self, val: bool) { ... }
}

Required Methods§

Provided Methods§

The text string to be drawn

The bottom-left corner of the text string in the image

The font type, see #HersheyFonts

The font scale factor that is multiplied by the font-specific base size

The text color

The thickness of the lines used to draw a text

The line type. See #LineTypes

When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner

Implementors§