Defines a BorderSide Component.
BorderSide | Defines a BorderSide Component. |
Functions | |
new | Should only be used as an argument to a Border Component. |
New BorderSide | A Subcomponent that defines individual sides of a Border component. |
Variables | |
is_side | Is it a Left or Right? |
width | BorderSide’s width. |
style | BorderSide’s BorderStyle. |
brush | BorderSide’s Brush Component. |
radius | BorderSide’s radius. |
styletable | A table holding the Stylesheets of all Components. |
Functions | |
updateStyletable | Updates the BorderSide’s stylesheet table. |
Properties | |
BorderSide Properties |
local function new ( _, init_width, init_style, init_content, init_radius )
Should only be used as an argument to a Border Component.
init_width | The BorderSide’s initial width. |
init_style | The BorderSide’s initial BorderStyle. Defaults to None. |
init_content | The BorderSide’s initial Brush or Image. |
init_radius | The radius of the BorderSide’s corners. Only relevant for top and bottom BorderSides. |
A new BorderSide Subcomponent.
A Subcomponent that defines individual sides of a Border component.
Variables | |
is_side | Is it a Left or Right? |
width | BorderSide’s width. |
style | BorderSide’s BorderStyle. |
brush | BorderSide’s Brush Component. |
radius | BorderSide’s radius. |
styletable | A table holding the Stylesheets of all Components. |
Functions | |
updateStyletable | Updates the BorderSide’s stylesheet table. |
Properties | |
BorderSide Properties |
local style
BorderSide’s BorderStyle. Defaults to None.
local styletable
A table holding the Stylesheets of all Components. This makes indexing easier for the Border Component.
Width | Gets and sets the BorderSide Subcomponent’s width. |
Style | Gets and sets the BorderSide’s BorderStyle. |
Content | Gets and sets the BorderSide’s Brush or Image Component. |
Radius | Gets and sets the BorderSide’s radius. |
IsSide | Gets and sets the BorderSide’s is_side value. Must be boolean. |
Styletable | Updates and returns the BorderSide’s stylesheet table. |
Should only be used as an argument to a Border Component.
local function new ( _, init_width, init_style, init_content, init_radius )
Is it a Left or Right?
local is_side
BorderSide’s width.
local width
BorderSide’s BorderStyle.
local style
BorderSide’s radius.
local radius
A table holding the Stylesheets of all Components.
local styletable
Updates the BorderSide’s stylesheet table.
local function updateStyletable ()