Region
A Region adds a Border, and padding compared to a regular Node.
Theme DSL
{
background( color : Color )
background( color : String )
borderSize( value : Edges )
borderSize( size : Number )
borderSize( topBottom : Number, leftRight : Number )
borderSize( top : Number, right : Number, bottom : Number, left : Number )
border( value : Border )
plainBorder( color : Color )
plainBorder( color : String )
ninePatchBorder( value : NinePatch )
padding( value : Edges )
padding( size : Number )
padding( topBottom : Number, leftRight : Number )
padding( top : Number, right : Number, bottom : Number, left : Number )
}
Content copied to clipboard
Region inherits all the features of Node.
Inheritors
Properties
Functions
Link copied to clipboard
Sets Region.borderSize.
Link copied to clipboard
Sets [Region.background to NoBackground
Link copied to clipboard
Each subclass of node can determine its preferred height. As most nodes are composed of smaller nodes, this is typically calculated using evalPrefWidth of the child nodes, with extra added for spacing, padding and borders.
Link copied to clipboard
Each subclass of node can determine its preferred width. As most nodes are composed of smaller nodes, this is typically calculated using evalPrefWidth of the child nodes, with extra added for spacing, padding and borders.
Link copied to clipboard
Sets Region.background to Color[color]
Sets Region.background to PlainBackground
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard