Struct opencv::gapi::Text

source ·
pub struct Text { /* private fields */ }
Expand description
  • This structure represents a text string to draw.
  • Parameters match cv::putText().

Implementations§

Text constructor

Parameters
  • text_: The text string to be drawn
  • org_: The bottom-left corner of the text string in the image
  • ff_: The font type, see #HersheyFonts
  • fs_: The font scale factor that is multiplied by the font-specific base size
  • color_: The text color
  • thick_: The thickness of the lines used to draw a text
  • lt_: The line type. See #LineTypes
  • bottom_left_origin_: When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner
C++ default parameters
  • thick_: 1
  • lt_: 8
  • bottom_left_origin_: false

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
The text string to be drawn
The bottom-left corner of the text string in the image
The font type, see #HersheyFonts
The font scale factor that is multiplied by the font-specific base size
The text color
The thickness of the lines used to draw a text
The line type. See #LineTypes
When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner
The text string to be drawn
The bottom-left corner of the text string in the image
The font type, see #HersheyFonts
The font scale factor that is multiplied by the font-specific base size
The text color
The thickness of the lines used to draw a text
The line type. See #LineTypes
When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner

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.