Trait opencv::hub_prelude::WTextTrait[][src]

pub trait WTextTrait: Widget2DTrait {
    fn as_raw_WText(&self) -> *const c_void;
fn as_raw_mut_WText(&mut self) -> *mut c_void; fn set_text(&mut self, text: &str) -> Result<()> { ... }
fn get_text(&self) -> Result<String> { ... } }
Expand description

This 2D Widget represents text overlay.

Required methods

Provided methods

Sets the text content of the widget.

Parameters

  • text: Text content of the widget.

Returns the current text content of the widget.

Implementors