|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.chart.computation.Point
public class Point
The Location class defines a point specified in
double precision.
| Field Summary | |
|---|---|
double |
x
The X coordinate of this Location. |
double |
y
The Y coordinate of this Location. |
| Constructor Summary | |
|---|---|
Point()
Constructs and initializes a Location with coordinates
(0, 0). |
|
Point(double x,
double y)
Constructs and initializes a Location with the specified
coordinates. |
|
Point(Location lo)
|
|
| Method Summary | |
|---|---|
double |
getX()
Returns the X coordinate of this Location in
double precision. |
double |
getY()
Returns the Y coordinate of this Location in
double precision. |
void |
setLocation(double x,
double y)
Sets the location of this Location to the specified
double coordinates. |
void |
setX(double x)
|
void |
setY(double y)
|
java.lang.String |
toString()
Returns a String that represents the value of this
Location. |
void |
translate(double dTranslateX,
double dTranslateY)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double x
Location.
public double y
Location.
| Constructor Detail |
|---|
public Point()
Location with coordinates
(0, 0).
public Point(Location lo)
public Point(double x,
double y)
Location with the specified
coordinates.
x, y - the coordinates to which to set the newly constructed
Location| Method Detail |
|---|
public double getX()
Location in
double precision.
Location.public double getY()
Location in
double precision.
Location.
public void setLocation(double x,
double y)
Location to the specified
double coordinates.
x, y - the coordinates to which to set this Locationpublic java.lang.String toString()
String that represents the value of this
Location.
toString in class java.lang.ObjectLocation.public void setX(double x)
public void setY(double y)
public void translate(double dTranslateX,
double dTranslateY)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||