open3d.visualization.gui.Margins#
- class open3d.visualization.gui.Margins#
Margins for layouts
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.cpu.pybind.visualization.gui.Margins, left: int = 0, top: int = 0, right: int = 0, bottom: int = 0) -> None
Creates margins. Arguments are left, top, right, bottom. Use the em-size (window.theme.font_size) rather than pixels for more consistency across platforms and monitors. Margins are the spacing from the edge of the widget’s frame to its content area. They act similar to the ‘padding’ property in CSS
__init__(self: open3d.cpu.pybind.visualization.gui.Margins, left: float = 0.0, top: float = 0.0, right: float = 0.0, bottom: float = 0.0) -> None
Creates margins. Arguments are left, top, right, bottom. Use the em-size (window.theme.font_size) rather than pixels for more consistency across platforms and monitors. Margins are the spacing from the edge of the widget’s frame to its content area. They act similar to the ‘padding’ property in CSS
- get_horiz(self: open3d.cpu.pybind.visualization.gui.Margins) int #
- get_vert(self: open3d.cpu.pybind.visualization.gui.Margins) int #
- property bottom#
- property left#
- property right#
- property top#