Class Index | File Index

Classes


Class eniro.maps.Size


Defined in: Size.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
eniro.maps.Size(width, height)
Size holds an width/height value of an unspecified unit.
Method Summary
Method Attributes Method Name and Description
 
equals(other)
Compare this instance with another instance.
 
Returns the height.
 
Returns the width.
Class Detail
eniro.maps.Size(width, height)
Size holds an width/height value of an unspecified unit.

Class is considered a value type.

Parameters:
{number} width
The width value.
{number} height
The height value.
Method Detail
{boolean} equals(other)
Compare this instance with another instance.
Parameters:
{eniro.maps.Size} other
The instance to compare this instance to.
Returns:
{boolean} true If this instance is equal to the given one.

{number} getHeight()
Returns the height.
Returns:
{number} The height.

{number} getWidth()
Returns the width.
Returns:
{number} The width.

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Mar 30 2020 12:10:04 GMT+0200 (CEST)