Documentation

Background Image Margins - Open Dev Kit Documentation

Open Dev Kit Documentation :: GUI :: Control :: Background Image Margins

GUI.Control.BackgroundImageMargins
9-patch margins for state images (left, top, right, bottom)

Type

Rectangle

Lua Usage

-- Get
local rectangle = control.BackgroundImageMargins

-- Set
control.BackgroundImageMargins = rectangle

If you think anything is missing, please feel free to: submit documentation feedback on this page