[ type ] Border
Description:
Border object used to define the visual border of UI components like Panel, Label, Button, TextField, TextArea and more.
Type: Object
Properties:
| Name | Type | Description |
|---|---|---|
|
(Required) The border style. |
|
|
number | Border size in pixels. Must be >= 1. |
|
string | Inner padding as a space-separated string of four integer values: |
|
string | Border color. Only applicable for |
|
boolean | If |
|
number | Length of each dash. Only applicable for |
|
number | Length of the gaps between dashes. Only applicable for |
|
number | Starting offset of the dash pattern. Can be used to animate dashes. Only applicable for |
|
string | Label text displayed at the top-left of the border, creating a titled border effect. |
|
string | Placement of the border label text. Accepts a combination of: |
|
Font used to render the border label text. |
