|
||||||||||
| 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
com.sencha.gxt.chart.client.draw.Scaling
public class Scaling
Represents a two dimensional scaling.
| Constructor Summary | |
|---|---|
Scaling()
Creates a zeroed out scaling |
|
Scaling(double x,
double y)
Creates a scaling at the given x and y scale. |
|
Scaling(double x,
double y,
double centerX,
double centerY)
Creates a scaling using the given x and y scale and the given origin. |
|
Scaling(Scaling scaling)
Creates a copy of the given scaling. |
|
| Method Summary | |
|---|---|
double |
getCenterX()
Returns the x-coordinate of the origin of the scaling. |
double |
getCenterY()
Returns the y-coordinate of the origin of the scaling. |
void |
setCenterX(double centerX)
Sets the x-coordinate of the origin of the scaling. |
void |
setCenterY(double centerY)
Sets the y-coordinate of the origin of the scaling. |
| Methods inherited from class com.sencha.gxt.chart.client.draw.Translation |
|---|
getX, getY, setX, setY, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Scaling()
public Scaling(double x,
double y)
x - the scale on the x axisy - the scale on the y axis
public Scaling(double x,
double y,
double centerX,
double centerY)
x - the scale on the x axisy - the scale on the y axiscenterX - x-coordinate of the origincenterY - y-coordinate of the originpublic Scaling(Scaling scaling)
scaling - the scaling to be copied| Method Detail |
|---|
public double getCenterX()
public double getCenterY()
public void setCenterX(double centerX)
centerX - the x-coordinate of the origin of the scalingpublic void setCenterY(double centerY)
centerY - the y-coordinate of the origin of the scaling
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||