safearea

Version: stable

FUNCTIONS
safearea.set_background_color()
safearea.get_insets()
safearea.get_corners_radius()
CONSTANTS
STATUS_OK
STATUS_NOT_AVAILABLE
STATUS_NOT_READY_YET

Functions

safearea.set_background_color()

safearea.set_background_color(color)

set background color in runtime

PARAMETERS

color vector4 Color will be used as background color.

safearea.get_insets()

safearea.get_insets()

returns table with top, left, right, bottom values of insets and status

PARAMETERS

None

RETURNS

table

safearea.get_corners_radius()

safearea.get_corners_radius()

returns a table with `top_left`, `top_right`, `bottom_left`, and `bottom_right` values of rounded corners and status.

PARAMETERS

None

RETURNS

table

Constants

STATUS_OK


STATUS_NOT_AVAILABLE


STATUS_NOT_READY_YET