Trait PolyTrait

Source
pub trait PolyTrait: PolyTraitConst {
    // Required method
    fn as_raw_mut_Poly(&mut self) -> *mut c_void;

    // Provided methods
    fn set_points(&mut self, val: Vector<Point>) { ... }
    fn set_color(&mut self, val: Scalar) { ... }
    fn set_thick(&mut self, val: i32) { ... }
    fn set_lt(&mut self, val: i32) { ... }
    fn set_shift(&mut self, val: i32) { ... }
}
Expand description

Mutable methods for crate::gapi::Poly

Required Methods§

Provided Methods§

Source

fn set_points(&mut self, val: Vector<Point>)

Points to connect

Source

fn set_color(&mut self, val: Scalar)

The line color

Source

fn set_thick(&mut self, val: i32)

The thickness of line

Source

fn set_lt(&mut self, val: i32)

The Type of the line. See #LineTypes

Source

fn set_shift(&mut self, val: i32)

The number of fractional bits in the point coordinate

Implementors§