rojo/.cursor/rules/roblox/reference/engine/enums/FrameStyle.yaml
2026-02-02 12:08:47 -06:00

75 lines
2.5 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: FrameStyle
type: enum
summary: |
Used to set the style of a `Class.Frame`.
description: |
The **FrameStyle** enum is used to set the style of a `Class.Frame`.
code_samples: []
tags: []
deprecation_message: ''
items:
- name: Custom
summary: |
Uses the frame's `Class.GuiObject.BackgroundColor3`,
`Class.GuiObject.BorderColor3`, and
`Class.GuiObject.BackgroundTransparency` properties to determine the
frame's appearance. It has no padding; elements with the position
`Datatype.UDim2.new(0, 0, 0, 0)` will appear at the frame's top-left
corner.
value: 0
tags: []
deprecation_message: ''
- name: ChatBlue
summary: |
Causes the frame to appear similar to a `Class.Dialog` with its
`Class.Dialog.Tone|Tone` property set to `Enum.DialogTone.Neutral`. Like
**ChatGreen** and **ChatRed**, this has a padding of fifteen pixels on all
sides.
value: 1
tags: []
deprecation_message: ''
- name: RobloxSquare
summary: |
Causes the frame to appear as a translucent dark gray rectangle with a
padding of five pixels on all sides.
value: 2
tags: []
deprecation_message: ''
- name: RobloxRound
summary: |
Causes the frame to appear as a translucent dark gray rectangle with
rounded edges. Like **RobloxSquare**, this has a padding of five pixels on
all sides.
value: 3
tags: []
deprecation_message: ''
- name: ChatGreen
summary: |
Causes the frame to appear similar to a `Class.Dialog` with its
`Class.Dialog.Tone|Tone` property set to `Enum.DialogTone.Friendly`. Like
**ChatBlue** and **ChatRed**, this has a padding of fifteen pixels on all
sides.
value: 4
tags: []
deprecation_message: ''
- name: ChatRed
summary: |
Causes the frame to appear similar to a `Class.Dialog` with its
`Class.Dialog.Tone|Tone` property set to `Enum.DialogTone.Enemy`. Like
**ChatBlue** and **ChatGreen**, this has a padding of fifteen pixels on
all sides.
value: 5
tags: []
deprecation_message: ''
- name: DropShadow
summary: |
Causes the frame to appear as a translucent gray rectangle with blurred
sides. The blur is more apparent on the bottom edge. It has a padding of
eight pixels on all sides.
value: 6
tags: []
deprecation_message: ''