Constructor: OpenLayers.Pixel Create a new OpenLayers.Pixel instance
Parameters: x - {Number} The x coordinate y - {Number} The y coordinate
Returns: An instance of OpenLayers.Pixel
APIProperty: x {Number} The x coordinate
APIProperty: y {Number} The y coordinate
APIMethod: add
Parameters: x - {Integer} y - {Integer}
Returns:
{
APIMethod: clone Return a clone of this pixel object
Returns:
{
APIMethod: distanceTo Returns the distance to the pixel point passed in as a parameter.
Parameters:
px - {
Returns: {Float} The pixel point passed in as parameter to calculate the distance to.
number
APIMethod: equals Determine whether one pixel is equivalent to another
Parameters:
px - {
Returns: {Boolean} The point passed in as parameter is equal to this. Note that if px passed in is null, returns false.
boolean
boolean
APIMethod: offset
Parameters
px - {
Returns:
{