Class Index | File Index

Classes


Class eniro.maps.Point


Defined in: Point.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Point holds an x/y value of an unspecified unit, often used for pixel coordinates.
Method Summary
Method Attributes Method Name and Description
 
equals(other)
Compare this instance with another instance.
 
getX()
Returns the x coordinate.
 
getY()
Returns the y coordinate.
Class Detail
eniro.maps.Point(x, y)
Point holds an x/y value of an unspecified unit, often used for pixel coordinates.

Class is considered a value type.

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

{number} getX()
Returns the x coordinate.
Returns:
{number} The x coordinate.

{number} getY()
Returns the y coordinate.
Returns:
{number} The y coordinate.

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