Struct me3_framework::overlay::FontTweak
source · [−]Expand description
Extra scale and vertical tweak to apply to all text of a certain font.
Fields
scale: f32
Scale the font by this much.
Default: 1.0
(no scaling).
y_offset_factor: f32
Shift font downwards by this fraction of the font size (in points).
A positive value shifts the text downwards. A negative value shifts it upwards.
Example value: -0.2
.
y_offset: f32
Shift font downwards by this amount of logical points.
Example value: 2.0
.
Trait Implementations
impl Copy for FontTweak
impl StructuralPartialEq for FontTweak
Auto Trait Implementations
impl RefUnwindSafe for FontTweak
impl Send for FontTweak
impl Sync for FontTweak
impl Unpin for FontTweak
impl UnwindSafe for FontTweak
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more