Struct opencv::gapi::Poly

source ·
pub struct Poly { /* private fields */ }
Expand description

This structure represents a polygon to draw.

Implementations

Mosaic constructor

Parameters
  • points_: Points to connect
  • color_: The line color
  • thick_: The thickness of line
  • lt_: The Type of the line. See #LineTypes
  • shift_: The number of fractional bits in the point coordinate
C++ default parameters
  • thick_: 1
  • lt_: 8
  • shift_: 0

Trait Implementations

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more

Forwards to infallible Self::default()

Executes the destructor for this type. Read more
Points to connect
The line color
The thickness of line
The Type of the line. See #LineTypes
The number of fractional bits in the point coordinate
Points to connect
The line color
The thickness of line
The Type of the line. See #LineTypes
The number of fractional bits in the point coordinate

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.