utils.Size class
Class for representing sizes consisting of a width and height.
Signature:
export declare class Size
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | |||
number |
Methods
Method | Modifiers | Description |
|---|---|---|
| Compares sizes for equality. | |
| Returns a new size with the maximum width and height values out of both sizes. | |
| Returns a new size with the minimum width and height values out of both sizes. |