I

IMutableSize

Interface for a mutable size in 2D coordinate space with double precision width and height.
ImplementsInheritance Hierarchy

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

Gets or sets the height of this instance.
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.height
Determines whether the specified size is empty.
ISize instances are considered empty if their width or height is less than 0.0d.
readonly

Defined in

ISize.isEmpty
Gets or sets the width of this instance.
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
width

Implements

ISize.width

Methods

Sets the coordinates of the size to the given values.

Parameters

newSize: ISize
The new location.
Sets the coordinates of the size to the given values.

Parameters

newWidth: number
The new x-coordinate
newHeight: number
The new y-coordinate
Creates a new Size instance with the current values of this size.

Return Value

Size
A new Size instance that has been initialized with the current values of size.

Defined in

ISize.toSize