MCPcopy 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_beginFunction · 0.45
test_exampleFunction · 0.45
test_floatingFunction · 0.45
test_simple_text_measureFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_beginFunction · 0.36
test_exampleFunction · 0.36
test_floatingFunction · 0.36
test_simple_text_measureFunction · 0.36