Defines the Border Component.
| Border | Defines the Border Component. |
| Functions | |
| new | |
| New Border | A Component that defines a Frame’s Border. |
| Variables | |
| width | The Border’s width. |
| style | The Border’s BorderStyle. |
| content | The Border’s Brush or Image Component. |
| radius | The Border’s radius. |
| borders | A table holding BorderSide Subcomponents. |
| stylesheet | The Border’s stylesheet. |
| Functions | |
| updateStylesheet | Updates the Border Component’s stylesheet. |
| Properties | |
| Border Properties |
local function new ( _, init_width, init_style, init_content, init_radius, init_borders )
| init_width | The Border Component’s initial width. May be a number or a table of numbers. |
| init_style | The Border Component’s initial BorderStyle. Defaults to None. |
| init_content | The Border Component’s initial content. Can be an Image, Brush, or table of Brushes. |
| init_radius | The Border Component’s initial radius, for rounded corners. Can be a number or a table of numbers. |
| init_borders | The Border Component’s initial BorderSide Subcomponents. Must be a table containing one to four BorderSides. |
A new Border Component.
A Component that defines a Frame’s Border.
| Variables | |
| width | The Border’s width. |
| style | The Border’s BorderStyle. |
| content | The Border’s Brush or Image Component. |
| radius | The Border’s radius. |
| borders | A table holding BorderSide Subcomponents. |
| stylesheet | The Border’s stylesheet. |
| Functions | |
| updateStylesheet | Updates the Border Component’s stylesheet. |
| Properties | |
| Border Properties |
local style
The Border’s BorderStyle. Defaults to None.
local borders
A table holding BorderSide Subcomponents.
local stylesheet
The Border’s stylesheet. Generated via updateStylesheet.
local function updateStylesheet ()
Updates the Border Component’s stylesheet.
| Style | Gets and sets the BorderStyle Component. |
| Width | Gets and sets the Border Component’s width. |
| Content | Gets and sets the Border Component’s Brush or Image Component. |
| Top | Gets and sets an individual BorderSide Subcomponent. |
| Right | Gets and sets an individual BorderSide Subcomponent. |
| Bottom | Gets and sets an individual BorderSide Subcomponent. |
| Left | Gets and sets an individual BorderSide Subcomponent. |
| Stylesheet | Updates and returns the Border Component’s stylesheet. |
local function new ( _, init_width, init_style, init_content, init_radius, init_borders )
The Border’s width.
local width
The Border’s BorderStyle.
local style
The Border’s Brush or Image Component.
local content
The Border’s radius.
local radius
A table holding BorderSide Subcomponents.
local borders
The Border’s stylesheet.
local stylesheet
Updates the Border Component’s stylesheet.
local function updateStylesheet ()