Skip to content
Roblox API Reference

Enum.BorderMode

Used by GuiObject.BorderMode to determine where borders are placed.
Items
3
Uses
1

Items3

  • Enum.BorderMode.Outline = 0
    As GuiObject.BorderSizePixel increases, the border grows outward. The dimensions of the GuiObject's contents do not change.
  • Enum.BorderMode.Middle = 1
    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.
  • Enum.BorderMode.Inset = 2
    As GuiObject.BorderSizePixel increases, the border grows evenly inward only. The dimensions of the GuiObject's contents are reduced at a 1:2 ratio.

Used by properties1