class UIPanel
A visible ui-block.
class UIPanel extends UIBlock
Inheritance UIElement –> UIBlock –> UIPanel
| Name | Description |
|---|---|
| Constructors | |
| UIPanel() | Creates a new UIPanel. |
| Methods | |
| setStyle() | Set the displaying style of the ui-panel. |
Constructors
UIPanel()
UIPanel()
Creates a new UIPanel.
Properties
See the base UIBlock class for common properties.
Methods
See the base UIBlock class for common methods.
setStyle()
.setStyle(style: Object): undefined
Set the displaying style of the ui-panel.
style may have the following properties:
style.cornerRadius: Number
Corner radius of the rounded rectangle.
style.strokeWidth: Number
Line-width of the stroke.
style.colorBg: String
Background color of the panel.
style.colorStroke: String
Stroke color of the panel.