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§