Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class draw2d.Point

    Object
       |
       +--draw2d.Point

Direct Known Subclasses:
  draw2d.Dimension

class draw2d.Point

Defined in Point.js
Version: 0.9.14
Author: Andreas Herz

Field Summary
`Object` | `type`

Constructor Summary
`draw2d.Point ( x,y)`

Method Summary
`boolean` | `equals( o)`
`float` | `getDistance( other)`
`Object` | `getPosition( p)` Calculates the relative position of the specified Point to this Point.
`float` | `getTranslated( other)`
`int` | `getX()`
`int` | `getY()`

Field Detail

### type

    Object type

Constructor Detail

### draw2d.Point

    draw2d.Point( x,y)

Version: 0.9.14
Author: Andreas Herz

Method Detail

### equals

    boolean equals( o)

### getDistance

    float getDistance( other)

### getPosition

    Object getPosition( p)

Calculates the relative position of the specified Point to this Point.

Parameters:

`p` - The reference Point

Returns:

NORTH, SOUTH, EAST, or WEST, as defined in draw2d.PositionConstants

### getTranslated

    float getTranslated( other)

### getX

    int getX()

### getY

    int getY()

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008