Class Size
Package: @aurigma/design-atoms-model
Constructors
(constructor)(width, height)
Constructs a new instance of the Size class
Declaration
constructor(width?: number, height?: number);
Parameters
| Type | Name | Description |
|---|---|---|
| number | width | |
| number | height |
Properties
height
Declaration
height: number;
Property Value
| Type | Description |
|---|---|
| number |
width
Declaration
width: number;
Property Value
| Type | Description |
|---|---|
| number |
Methods
clone()
Declaration
clone(): Size;
Returns
| Type | Description |
|---|---|
| Size |
equals(other)
Declaration
equals(other: Size): boolean;
Parameters
| Type | Name | Description |
|---|---|---|
| Size | other |
Returns
| Type | Description |
|---|---|
| boolean |