PenProfile 2.x

com.livescribe.geom
Class Coordinate

java.lang.Object
  extended by com.livescribe.geom.Coordinate

public class Coordinate
extends Object

Represents a coordinate in some coordinate system. Note that this currently only represents 2D Cartesian coordinates. In the future, it may contain other information, such as pressure and angle.

Since:
2.4

Field Summary
 int x
           
 int y
           
 
Constructor Summary
Coordinate(int x, int y)
          Creates a new coordinate having the specified 2D Cartesian values.
Coordinate(Point p)
          Creates a new coordinate using the specified 2D point.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x

y

public int y
Constructor Detail

Coordinate

public Coordinate(Point p)
Creates a new coordinate using the specified 2D point.

Parameters:
p - the point object
See Also:
Point

Coordinate

public Coordinate(int x,
                  int y)
Creates a new coordinate having the specified 2D Cartesian values.

Parameters:
x - the X-coordinate
y - the Y-coordinate

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.