pub trait TextTrait: TextTraitConst {
// Required method
fn as_raw_mut_Text(&mut self) -> *mut c_void;
// Provided methods
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) { ... }
}
Expand description
Mutable methods for crate::gapi::Text
Required Methods§
fn as_raw_mut_Text(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set_fs(&mut self, val: f64)
fn set_fs(&mut self, val: f64)
The font scale factor that is multiplied by the font-specific base size
Sourcefn set_bottom_left_origin(&mut self, val: bool)
fn set_bottom_left_origin(&mut self, val: bool)
When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner