Reference API Roblox

Engine API

Website

Related

Reference API Roblox

BorderMode

Used by GuiObject.BorderMode to determine where borders are placed.

Items 3

HistoryNameValueDescription
397Outline0

As GuiObject.BorderSizePixel increases, the border grows outward. The dimensions of the GuiObject's contents do not change.

397Middle1

As GuiObject.BorderSizePixel increases, the border grows evenly inward and outward. The dimensions of the GuiObject's contents are reduced at a 1:1 ratio.

397Inset2

As GuiObject.BorderSizePixel increases, the border grows evenly inward only. The dimensions of the GuiObject's contents are reduced at a 1:2 ratio.

Description

Determines in what matter the border of a GuiObject is laid out relative to its actual dimensions. It is used by the property of the same name, GuiObject.BorderMode.

History 4

Settings