[][src]Trait opencv::prelude::Widget2DTrait

pub trait Widget2DTrait: WidgetTrait {
    pub fn as_raw_Widget2D(&self) -> *const c_void;
pub fn as_raw_mut_Widget2D(&mut self) -> *mut c_void; pub fn set_color(&mut self, color: &Color) -> Result<()> { ... } }

Base class of all 2D widgets.

Required methods

Loading content...

Provided methods

pub fn set_color(&mut self, color: &Color) -> Result<()>[src]

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...