Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRedDeveloper/ply-engine
/ font_size
Method
font_size
src/text.rs:65–68 ·
view source on GitHub ↗
(&mut self, size: u16)
Source
from the content-addressed store, hash-verified
63
/// Sets the font size.
64
#[inline]
65
pub fn font_size(&mut self, size: u16) -> &mut Self {
66
self.font_size = size;
67
self
68
}
69
70
/// Sets the letter spacing.
71
#[inline]
Callers
4
test_begin
Function · 0.45
test_example
Function · 0.45
test_floating
Function · 0.45
test_simple_text_measure
Function · 0.45
Calls
no outgoing calls
Tested by
4
test_begin
Function · 0.36
test_example
Function · 0.36
test_floating
Function · 0.36
test_simple_text_measure
Function · 0.36