Interface for a mutable size in 2D coordinate space with double precision width and height.
Implements
- I
Remarks
This interface provides read and write access to the size. It extends the read-only interface ISize.
See Also
API
- ISize, MutableSize
Members
Show:
Properties
Implementations may adjust the values internally, e.g., to automatically snap the values to grid sizes. So depending on context, the value that can be read might not necessarily be the exact same value that has just been written.
abstract
See Also
API
- height
Implements
ISize.heightDefined in
ISize.isEmptyImplementations may adjust the values internally, e.g., to automatically snap the values to grid sizes. So depending on context, the value that can be read might not necessarily be the exact same value that has just been written.
abstract
See Also
API
- width
Implements
ISize.widthMethods
Sets the coordinates of the size to the given values.
Sets the coordinates of the size to the given values.
Parameters
- newSize: ISize
- The new location.
Parameters
- newWidth: number
- The new x-coordinate
- newHeight: number
- The new y-coordinate