Skip to main content

UIView

Inherits from UIField

UIView is a class that displays a rectangle in your place's UI.


Summary

Properties


Properties

BorderColor

UIView.BorderColor: Color

Determines the border color of the UI.

Example

element.BorderColor = Color.New(1, 0, 0, 1)

BorderWidth

UIView.BorderWidth: float

Determines the border width of the UI.

Example

element.BorderWidth = 10

Color

UIView.Color: Color

Determines the color of the UI.

Example

element.Color = Color.New(0, 0, 0, 1)

CornerRadius

UIView.CornerRadius: float

Determines the corner radius of the UI.

Example

element.CornerRadius = 10