Class UISize
UI size - represent a UI element size with width, height and types.
Inheritance
System.Object
UISize
Namespace: BonEngineSharp.Defs
Assembly: BonEngineSharp.dll
Syntax
public sealed class UISize : ValueType
Constructors
UISize(Int32, UISizeType, Int32, UISizeType)
Create the UI size struct.
Declaration
public UISize(int width, UISizeType widthType, int height, UISizeType heightType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | width | |
| UISizeType | widthType | |
| System.Int32 | height | |
| UISizeType | heightType |
Fields
Height
Height value.
Declaration
public int Height
Field Value
| Type | Description |
|---|---|
| System.Int32 |
HeightType
Height units type.
Declaration
public UISizeType HeightType
Field Value
| Type | Description |
|---|---|
| UISizeType |
Width
Width value.
Declaration
public int Width
Field Value
| Type | Description |
|---|---|
| System.Int32 |
WidthType
Width units type.
Declaration
public UISizeType WidthType
Field Value
| Type | Description |
|---|---|
| UISizeType |