Struct native_windows_gui::FontBuilder [−][src]
pub struct FontBuilder<'a> { /* fields omitted */ }
Expand description
Builds a font struct
Parameters: - size: Size of the font. The font mapper transforms this value into device units and matches it against the cell height of the available fonts. - size_absolute: Size of the font. The font mapper transforms this value into device units and matches its absolute value against the character height of the available fonts. - weight: Weight of the font. A value betweem 0 and 1000. 0 use the system default, 100 is very thin, 1000 is very bold. - family: Family name of the font (ex: Arial). Can be None to use the system default.
Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for FontBuilder<'a>
impl<'a> Send for FontBuilder<'a>
impl<'a> Sync for FontBuilder<'a>
impl<'a> Unpin for FontBuilder<'a>
impl<'a> UnwindSafe for FontBuilder<'a>