UIView¶
UIView is a class that displays a rectangle in your place's UI.
Inherits UIField
Properties¶
BorderColor : Color¶
Determines the border color of the UI.
Example
element.BorderColor = Color.New(1, 0, 0, 1)
BorderWidth : number
¶
Determines the border width of the UI.
Example
element.BorderWidth = 10
Color : Color¶
Determines the color of the UI.
Example
element.Color = Color.New(0, 0, 0, 1)
CornerRadius : number
¶
Determines the corner radius of the UI.
Example
element.CornerRadius = 10