BorderSize
From Crumbled World Wiki
Constructor
| function | description |
|---|---|
| BorderSize(Vec4 size) | |
| BorderSize(Vec4 size, bool useOnlyYAxisForSizeCalculation) | |
| BorderSize(Vec4 size, PanelSizeType type) | |
| BorderSize(Vec4 size, PanelSizeType type, bool useOnlyYAxisForSizeCalculation) |
Functions
| return | function | description |
|---|---|---|
| Vec4 | getSize() | Returns the border size. |
| PanelSizeType | getSizeType() | Returns the panel size type. |
| bool | getUseOnlyYAxisForSizeCalculation() | |
| setSizeType(PanelSizeType type) | Set size type. | |
| setSize(Vec4 size) | Set border size. | |
| setUseOnlyYaxisForSizeCalculation(bool enable) |