Assembly: Drawing;
The GxSize class implements the integer size.
Constructor name | Brief description | |
Create | The Create constructor creates a new size with the specified values of width and height. | |
CreateFromPoint | The CreateFromPoint constructor creates a new size based on the distance from the coordinates system center to the point passed by the Point parameter. | |
CreateFromSize | The CreateFromSize constructor creates a new size from the specified size. |
Property name | Brief description | |
Height | The Height property determines the height of the size. | |
IsEmpty | The IsEmpty property returns True if the size has a null width and height. | |
Width | The Width property determines the width of the size. |
Method name | Brief description | |
Equals | The Equals method checks if the current size is equal to the size that is passed as parameter. | |
Expand | The Expand method increases the size. | |
ExpandS | The ExpandS method increases the current size by a size passed as parameter. | |
Reduce | The Reduce method reduces the current size. | |
ReduceS | The ReduceS method reduces the current size by a size passed as parameter. | |
ToPoint | The ToPoint method transforms the size into the point. | |
ToSizeF | The ToSizeF method transforms the size into the real size. |
See also: