UI.Border
From GiderosMobile
Available since: Gideros 2023.1
Class: UI
Description
Creates a Border widget. There are two kind of borders: UI.Border.Basic and UI.Border.NinePatch.
UI.Border.Basic.new(params)
Available parameters for the Border.Basic are:
- thickness (number)
- insets (number)
- radius (number)
- bgColor (hex)
- fgColor (hex)
Parameters
params: (table) the Border widget parameters
Example
local gui = UI.Border.Basic.new(
{
thickness=8, insets=3, radius=4,
bgColor=0x333366, fgColor=0xccccff,
}
)
gui:setSize(128, 32)
gui:setPosition(64, 64)
stage:addChild(gui)
- UI.Accordion
- UI.Animation
- UI.Bar
- UI.Behavior
- UI.Border
- UI.BreadCrumbs
- UI.Builder
- UI.Button
- UI.Calendar
- UI.Checkbox
- UI.Combobox
- UI.ImageText
- UI.Keyboard
- UI.Label
- UI.Panel
- UI.Progress
- UI.Slider
- UI.Spinner
- UI.Splitpane
- UI.TabbedPane
- UI.Table
- UI.TextField
- UI.TimePicker
- UI.Toolbox
- UI.Tree
- UI.Viewport
- UI.WeekSchedule