com.livescribe.geom
Class Coordinate
java.lang.Object
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. |
x
public int x
y
public int y
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-coordinatey - the Y-coordinate
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.