# Enum.BorderMode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/BorderMode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/BorderMode

Used by [`GuiObject.BorderMode`](https://rapi.sleaze.dev/classes/GuiObject.md) to determine where borders are placed.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Outline` | 0 | As [`GuiObject.BorderSizePixel`](https://rapi.sleaze.dev/classes/GuiObject.md) increases, the border grows outward. The dimensions of the GuiObject's contents do not change. |
| `Middle` | 1 | As [`GuiObject.BorderSizePixel`](https://rapi.sleaze.dev/classes/GuiObject.md) increases, the border grows evenly inward and outward. The dimensions of the GuiObject's contents are reduced at a 1:1 ratio. |
| `Inset` | 2 | As [`GuiObject.BorderSizePixel`](https://rapi.sleaze.dev/classes/GuiObject.md) increases, the border grows evenly inward only. The dimensions of the GuiObject's contents are reduced at a 1:2 ratio. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [GuiObject](https://rapi.sleaze.dev/classes/GuiObject.md): property `BorderMode`
