Separator Element#

Functions#

eg-overlay-ui.separator(orientation)#

Create a new uiseparator.

Parameters:

orientation (string) – Either 'horizontal' or 'vertical'.

Return type:

uiseparator

Version History

Version

Notes

0.0.1

Added

Classes#

class eg-overlay-ui.uiseparator#

A separator element. This element draws either a horizontal or vertical line, that serves as a separator between other elements. It is typically used in a box layout element to separate items.

thickness(value)#

Set how thick the separator line is drawn, in pixels.

Parameters:

value (integer)

Version History

Version

Notes

0.0.1

Added

color(value)#

Set the color of the separator.

Parameters:

value (integer) – The new color. See Colors.

Version History

Version

Notes

0.0.1

Added