Main Page | Packages | Class Tree | Index | Help

xp.system

class Point

Object
  |
  +--xp.system.Point

Implemented Interfaces: ICloneable

class Point
extends Object

Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:
support@epresenterplus.com Style properties - rowHeight


Field Summary


x: Number
Gets or sets the x-coordinate of this Point.


y: Number
Gets or sets the y-coordinate of this Point.

Constructor

public
Point ( x: Number, y: Number)
Initializes a new instance of the Point class with the specified coordinates.

Method Summary

public
clone ( ): Object
Creates a shallow copy of the current Object.

public
equals ( p: Point ): Boolean
Specifies whether this Point contains the same coordinates as the specified Object.



Field Documentation

x

var x: Number
Gets or sets the x-coordinate of this Point.

y

var y: Number
Gets or sets the y-coordinate of this Point.


Constructor Documentation

Point

public function Point(x: Number,
 y: Number)
Initializes a new instance of the Point class with the specified coordinates.

Parameters:
x
The horizontal position of the point
y
The vertical position of the point.

Method Documentation

clone

public function clone(): Object
Creates a shallow copy of the current Object.

Specified by:
clone in interface ICloneable

equals

public function equals(p: Point): Boolean
Specifies whether this Point contains the same coordinates as the specified Object.


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc