SourceClass SafeAreaInsets
from egui import SafeAreaInsets
class SafeAreaInsets:
The 'safe area' insets of the screen
This represents the area taken up by the status bar, navigation controls, notches,
or any other items that obscure parts of the screen.
Properties§
@property
def bottom(self, /) -> float§
@bottom.setter
def bottom(self, /, bottom: float) -> None§
@property
def left(self, /) -> float§
@left.setter
def left(self, /, left: float) -> None§
@property
def right(self, /) -> float§
@right.setter
def right(self, /, right: float) -> None§
@property
def top(self, /) -> float§
@top.setter
def top(self, /, top: float) -> None§
Methods§
@staticmethod
def default() -> SafeAreaInsets§