S or /

SourceClass FontId

from egui import FontId
class FontId:

How to select a sized font.

Properties§

@property def family(self, /) -> FontFamily§
@family.setter def family(self, /, family: FontFamily) -> None§
@property def size(self, /) -> float§
@size.setter def size(self, /, size: float) -> None§

Methods§

Source@staticmethod def monospace(size: float) -> FontId§
Source@staticmethod def proportional(size: float) -> FontId§