Class mindmaps.Point
Defined in: Point.js.
Constructor Attributes | Constructor Name and Description |
---|---|
mindmaps.Point(x, y)
Point class.
|
Method Attributes | Method Name and Description |
---|---|
add(point)
Adds a point to the point.
|
|
clone()
Clones a the point.
|
|
<static> |
mindmaps.Point.fromObject(obj)
Returns a new point object from generic obj.
|
toString()
Returns a String representation.
|
Class Detail
mindmaps.Point(x, y)
Point class.
- Parameters:
- {Number} x Optional, Default: 0
- {Number} y Optional, Default: 0
Method Detail
add(point)
Adds a point to the point.
- Parameters:
- {mindmaps.Point} point
{mindmaps.Point}
clone()
Clones a the point.
- Returns:
- {mindmaps.Point}
<static>
{mindmaps.Point}
mindmaps.Point.fromObject(obj)
Returns a new point object from generic obj.
- Parameters:
- obj
- Returns:
- {mindmaps.Point}
{String}
toString()
Returns a String representation.
- Returns:
- {String}