Các bảng dưới đây phác thảo tất cả các lớp và các thuộc tính liên quan mà có thể được định dạng. Hỗ trợ bổ sung có thể được thêm theo thời gian, vì vậy hãy đánh dấu trang này để tham khảo.
Đối tượng UI
GuiObject
GuiObject là một lớp trừu tượng mà hầu hết các lớp UI kế thừa, bao gồm khung, nhãn, nút, và nhiều hơn nữa.
GuiButton
| Thuộc tính | Loại |
|---|---|
| GuiButton.AutoButtonColor | boolean |
TextLabel
TextButton
ImageLabel
ImageButton
TextBox
| Thuộc tính | Loại |
|---|---|
| TextBox.ClearTextOnFocus | boolean |
| TextBox.MultiLine | boolean |
| TextBox.PlaceholderColor3 | Color3 |
| TextBox.PlaceholderText | string |
| TextBox.ShowNativeInput | string |
| TextBox.TextEditable | boolean |
ScrollingFrame
ViewportFrame
| Thuộc tính | Loại |
|---|---|
| ViewportFrame.Ambient | Color3 |
| ViewportFrame.ImageColor3 | Color3 |
| ViewportFrame.ImageTransparency | float |
| ViewportFrame.LightColor | Color3 |
| ViewportFrame.LightDirection | Vector3 |
Path2D
| Thuộc tính | Loại |
|---|---|
| Path2D.Closed | boolean |
| Path2D.Color3 | Color3 |
| Path2D.Thickness | float |
| Path2D.Visible | boolean |
| Path2D.ZIndex | integer |
CanvasGroup
| Thuộc tính | Loại |
|---|---|
| CanvasGroup.GroupColor3 | Color3 |
| CanvasGroup.GroupTransparency | float |
Bộ điều chỉnh ngoại hình
UICorner
| Thuộc tính | Loại |
|---|---|
| UICorner.CornerRadius | UDim |
| UICorner.BottomLeftRadius | UDim |
| UICorner.BottomRightRadius | UDim |
| UICorner.TopLeftRadius | UDim |
| UICorner.TopRightRadius | UDim |
UIGradient
| Thuộc tính | Loại |
|---|---|
| UIGradient.Color | ColorSequence |
| UIGradient.Enabled | boolean |
| UIGradient.Offset | Vector2 |
| UIGradient.Rotation | float |
| UIGradient.Transparency | NumberSequence |
UIPadding
| Thuộc tính | Loại |
|---|---|
| UIPadding.PaddingBottom | UDim |
| UIPadding.PaddingLeft | UDim |
| UIPadding.PaddingRight | UDim |
| UIPadding.PaddingTop | UDim |
UIShadow
| Thuộc tính | Loại |
|---|---|
| UIShadow.BlurRadius | UDim |
| UIShadow.Color | Color3 |
| UIShadow.Offset | UDim2 |
| UIShadow.Spread | UDim2 |
| UIShadow.Transparency | float |
| UIShadow.ZIndex | integer |
UIStroke
| Thuộc tính | Loại |
|---|---|
| UIStroke.ApplyStrokeMode | Enum.ApplyStrokeMode |
| UIStroke.Color | Color3 |
| UIStroke.Enabled | boolean |
| UIStroke.LineJoinMode | Enum.LineJoinMode |
| UIStroke.Thickness | float |
| UIStroke.Transparency | float |
Cấu trúc bố cục
UIListLayout
UIGridStyleLayout
UIGridLayout
| Thuộc tính | Loại |
|---|---|
| UIGridLayout.CellPadding | UDim2 |
| UIGridLayout.CellSize | UDim2 |
| UIGridLayout.FillDirectionMaxCells | integer |
| UIGridLayout.StartCorner | Enum.StartCorner |
UIPageLayout
Các bộ điều chỉnh kích thước và ràng buộc
UIAspectRatioConstraint
| Thuộc tính | Loại |
|---|---|
| UIAspectRatioConstraint.AspectRatio | float |
| UIAspectRatioConstraint.AspectType | Enum.AspectType |
| UIAspectRatioConstraint.DominantAxis | Enum.DominantAxis |
UISizeConstraint
UITextSizeConstraint
| Thuộc tính | Loại |
|---|---|
| UITextSizeConstraint.MaxTextSize | integer |
| UITextSizeConstraint.MinTextSize | integer |
UIScale
| Thuộc tính | Loại |
|---|---|
| UIScale.Scale | float |
UIFlexItem
| Thuộc tính | Loại |
|---|---|
| UIFlexItem.FlexMode | Enum.UIFlexMode |
| UIFlexItem.GrowRatio | float |
| UIFlexItem.ItemLineAlignment | Enum.ItemLineAlignment |
| UIFlexItem.ShrinkRatio | float |
StyleQuery
StyleQuery cho phép bạn định nghĩa các điểm dừng điều kiện (như truy vấn phương tiện / container) kiểm soát khi nào các kiểu được áp dụng cho thể hiện cha của truy vấn đó.