Class Point
Describes an x and y coordinate.
Defined in: Point.js.
// Creating a point from a JSON object var myPoint = Point({ x: 10, y: 10 });
// creating a point from another Point object, or a Bounds object. var myPoint2 = Point(myPoint); var bounds = Bounds(myPoint2); var myPoint3 = Point(bounds);
Constructor Attributes | Constructor Name and Description |
---|---|
Point(_details)
|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
extend(_child)
This extends the provided child function with this instance.
|
Field Detail
details
x
y
Method Detail
extend(_child)
This extends the provided child function with this instance.
- Parameters:
- _child