Các bảng sau đây mô tả tất cả các lớp và tính chất liên quan có thể được trang trí.Hỗ trợ bổ sung có thể được thêm vào theo thời gian, vì vậy xin hãy lưu trang này để tham khảo.
Các đối tượng UI
Đối tượng Gui
GuiObject là một lớp trừu tượng mà hầu hết các lớp UI thừa kế, bao gồm khung , nhãn , nút và nhiều hơn nữa.
Nút GuiButton
Tài sản | Loại |
---|---|
GuiButton.AutoButtonColor | boolean như vậy |
Nhãn văn bản
Nút văn bản
Nhãn hình ảnh
Nút ảnh
Hộp văn bản
Tài sản | Loại |
---|---|
TextBox.ClearTextOnFocus | boolean như vậy |
TextBox.MultiLine | boolean như vậy |
TextBox.PlaceholderColor3 | Color3 |
TextBox.PlaceholderText | chuỗi |
TextBox.ShowNativeInput | chuỗi |
TextBox.TextEditable | boolean như vậy |
Khung cuộn
Khung xem
Tài sản | Loại |
---|---|
ViewportFrame.Ambient | Color3 |
ViewportFrame.ImageColor3 | Color3 |
ViewportFrame.ImageTransparency | nổi |
ViewportFrame.LightColor | Color3 |
ViewportFrame.LightDirection | Vector3 |
Con đường2D
Tài sản | Loại |
---|---|
Path2D.Closed | boolean như vậy |
Path2D.Color3 | Color3 |
Path2D.Thickness | nổi |
Path2D.Visible | boolean như vậy |
Path2D.ZIndex | số nguyên |
Nhóm Canvas
Biến thể ngoại hình
UICorner
Tài sản | Loại |
---|---|
UICorner.CornerRadius | UDim |
UIGradient Tài liệu tham khảo Tài liệu tham khảo
Tài sản | Loại |
---|---|
UIGradient.Color | ColorSequence |
UIGradient.Enabled | boolean như vậy |
UIGradient.Offset | Vector2 |
UIGradient.Rotation | nổi |
UIGradient.Transparency | NumberSequence |
UIPadding Trang bị
Tài sản | Loại |
---|---|
UIPadding.PaddingBottom | UDim |
UIPadding.PaddingLeft | UDim |
UIPadding.PaddingRight | UDim |
UIPadding.PaddingTop | UDim |
Đường viền UI
Tài sản | Loại |
---|---|
UIStroke.ApplyStrokeMode | Enum.ApplyStrokeMode |
UIStroke.Color | Color3 |
UIStroke.Enabled | boolean như vậy |
UIStroke.LineJoinMode | Enum.LineJoinMode |
UIStroke.Thickness | nổi |
UIStroke.Transparency | nổi |
Cấu trúc bố trí
Bố trí UIList
Bố trí UIGridStyleLayout
Bố trí UIGrid
Tài sản | Loại |
---|---|
UIGridLayout.CellPadding | UDim2 |
UIGridLayout.CellSize | UDim2 |
UIGridLayout.FillDirectionMaxCells | số nguyên |
UIGridLayout.StartCorner | Enum.StartCorner |
Biến thể kích thước và hạn chế
Yêu cầu tỷ lệ UIAspectRatio
Tài sản | Loại |
---|---|
UIAspectRatioConstraint.AspectRatio | nổi |
UIAspectRatioConstraint.AspectType | Enum.AspectType |
UIAspectRatioConstraint.DominantAxis | Enum.DominantAxis |
Hạn chế kích thước UISize
Giới hạn kích thước UIText
Tài sản | Loại |
---|---|
UITextSizeConstraint.MaxTextSize | số nguyên |
UITextSizeConstraint.MinTextSize | số nguyên |
Tỉ lệ UIS
Tài sản | Loại |
---|---|
UIScale.Scale | nổi |