Telogis.GeoBase.Size |
Represents the 2D spatial dimensions of an object.
Name | Description |
---|---|
Size(width, height) | Arguments
|
Name | Description |
---|---|
equals (Size other) | Determines whether two Size objects are of the same value. ArgumentsReturnsBoolean - Whether the height and width of the caller and Size.equals.other are equivalent. |
isNonZero () | Determines whether the size is non-zero, i.e. not 0x0. ReturnsBoolean - True if the size is non-zero; false otherwise. |
multiply (Number scalar) | Performs component-wise multiplication of the calling Size by a given scalar value. The result is saved in the calling size, but a reference is returned for convenience. Arguments
Size - The calling size, once scaled by Size.multiply.scalar. |
toString () | Gets a string representation of the size represented by the current object. ReturnsString - A string of the form '$wx$h'. |