opencv::prelude

Trait PolyTraitConst

source
pub trait PolyTraitConst {
    // Required method
    fn as_raw_Poly(&self) -> *const c_void;

    // Provided methods
    fn points(&self) -> Vector<Point> { ... }
    fn color(&self) -> Scalar { ... }
    fn thick(&self) -> i32 { ... }
    fn lt(&self) -> i32 { ... }
    fn shift(&self) -> i32 { ... }
}
Expand description

Constant methods for crate::gapi::Poly

Required Methods§

Provided Methods§

source

fn points(&self) -> Vector<Point>

Points to connect

source

fn color(&self) -> Scalar

The line color

source

fn thick(&self) -> i32

The thickness of line

source

fn lt(&self) -> i32

The Type of the line. See #LineTypes

source

fn shift(&self) -> i32

The number of fractional bits in the point coordinate

Implementors§