Size - ahatornn/clforms GitHub Wiki
Size
ClForms.Common.Size
Implements a structure that is used to describe the size of an object
public struct Size
{
…
/// Zero-sized Size
public static Size Empty => new Size(0, 0);
…
}
Constructors
| Syntax |
Description |
| Size(int width, int height) |
Initialize a new instance of Size |
Properties
| Name |
Type |
Description |
| Width |
int |
Gets or sets the width |
| Height |
int |
Gets or sets the height |
Methods
| Syntax |
Description |
| HasEmptyDimension() |
Indicates an empty dimension along any of the axes Width or Height |