Namespace YAHOO.util.Point
Extends
YAHOO.util.Region.
YAHOO.util
A point is a region that is special in that it represents a single point on
the grid.
Defined in: dom.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A point is a region that is special in that it represents a single point on
the grid.
|
Field Attributes | Field Name and Description |
---|---|
The X position of the point, which is also the right, left and index zero (for Dom.getXY symmetry)
|
|
The Y position of the point, which is also the top, bottom and index one (for Dom.getXY symmetry)
|
- Fields borrowed from class YAHOO.util.Region:
- bottom, left, right, top
- Methods borrowed from class YAHOO.util.Region:
- contains, getArea, getRegion, intersect, toString, union
Namespace Detail
YAHOO.util.Point
A point is a region that is special in that it represents a single point on
the grid.
- Parameters:
- {Int} x
- The X position of the point
- {Int} y
- The Y position of the point
Field Detail
{Int}
x
The X position of the point, which is also the right, left and index zero (for Dom.getXY symmetry)
{Int}
y
The Y position of the point, which is also the top, bottom and index one (for Dom.getXY symmetry)