[][src]Trait opencv::viz::Widget2DTrait

pub trait Widget2DTrait: WidgetTrait {
    fn as_raw_Widget2D(&self) -> *mut c_void;

    fn set_color(&mut self, color: &Color) -> Result<()> { ... }
}

Base class of all 2D widgets.

Required methods

Loading content...

Provided methods

fn set_color(&mut self, color: &Color) -> Result<()>

Sets the color of the widget.

Parameters

  • color: color of type Color
Loading content...

Implementors

impl Widget2DTrait for WImageOverlay[src]

impl Widget2DTrait for WText[src]

impl Widget2DTrait for Widget2D[src]

Loading content...