opencv::mod_prelude

Trait QtFontTraitConst

Source
pub trait QtFontTraitConst {
Show 13 methods // Required method fn as_raw_QtFont(&self) -> *const c_void; // Provided methods fn name_font(&self) -> String { ... } fn color(&self) -> Scalar { ... } fn font_face(&self) -> i32 { ... } fn ascii(&self) -> *const i32 { ... } fn greek(&self) -> *const i32 { ... } fn cyrillic(&self) -> *const i32 { ... } fn hscale(&self) -> f32 { ... } fn vscale(&self) -> f32 { ... } fn shear(&self) -> f32 { ... } fn thickness(&self) -> i32 { ... } fn dx(&self) -> f32 { ... } fn line_type(&self) -> i32 { ... }
}
Expand description

Constant methods for crate::highgui::QtFont

Required Methods§

Provided Methods§

Source

fn name_font(&self) -> String

Name of the font

Source

fn color(&self) -> Scalar

Color of the font. Scalar(blue_component, green_component, red_component[, alpha_component])

Source

fn font_face(&self) -> i32

See cv::QtFontStyles

Source

fn ascii(&self) -> *const i32

font data and metrics

Source

fn greek(&self) -> *const i32

Source

fn cyrillic(&self) -> *const i32

Source

fn hscale(&self) -> f32

Source

fn vscale(&self) -> f32

Source

fn shear(&self) -> f32

slope coefficient: 0 - normal, >0 - italic

Source

fn thickness(&self) -> i32

See cv::QtFontWeights

Source

fn dx(&self) -> f32

horizontal interval between letters

Source

fn line_type(&self) -> i32

PointSize

Implementors§