[][src]Trait opencv::hub_prelude::WText3DTrait

pub trait WText3DTrait: Widget3DTrait {
    fn as_raw_WText3D(&self) -> *const c_void;
fn as_raw_mut_WText3D(&mut self) -> *mut c_void; fn set_text(&mut self, text: &str) -> Result<()> { ... }
fn get_text(&self) -> Result<String> { ... } }

This 3D Widget represents 3D text. The text always faces the camera.

Required methods

Loading content...

Provided methods

fn set_text(&mut self, text: &str) -> Result<()>

Sets the text content of the widget.

Parameters

  • text: Text content of the widget.

fn get_text(&self) -> Result<String>

Returns the current text content of the widget.

Loading content...

Implementors

impl WText3DTrait for WText3D[src]

Loading content...