|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.draw.Translation
public class Translation
Represents a two dimensional translation.
| Constructor Summary | |
|---|---|
Translation()
Creates a zeroed out translation. |
|
Translation(double x,
double y)
Creates a translation using the given x and y values. |
|
Translation(Translation translation)
Creates a copy of the given translation. |
|
| Method Summary | |
|---|---|
double |
getX()
Returns the translation on the x axis. |
double |
getY()
Returns the translation on the y axis. |
void |
setX(double x)
Sets the translation on the x axis. |
void |
setY(double y)
Sets the translation on the y axis. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Translation()
public Translation(double x,
double y)
x - translation on the x axisy - translation on the y axispublic Translation(Translation translation)
translation - the translation to be copied| Method Detail |
|---|
public double getX()
public double getY()
public void setX(double x)
x - the translation on the x axispublic void setY(double y)
y - the translation on the y axispublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||