Class OpenSeadragon.Point

Class Summary
Constructor Attributes Constructor Name and Description
 
A Point is really used as a 2-dimensional vector, equally useful for representing a point on a plane, or the height and width of a plane not requiring any other frame of reference.

Method Summary

Class Detail

OpenSeadragon.Point(x, y)
A Point is really used as a 2-dimensional vector, equally useful for representing a point on a plane, or the height and width of a plane not requiring any other frame of reference.
Parameters:
{Number} x Optional
The vector component 'x'. Defaults to the origin at 0.
{Number} y Optional
The vector component 'y'. Defaults to the origin at 0.

Field Detail

{Number} x
The vector component 'x'.
{Number} y
The vector component 'y'.

Method Detail