|
||||||||||
| 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.Rotation
public class Rotation
Represents a two dimensional rotation.
| Constructor Summary | |
|---|---|
Rotation()
Creates a zeroed out rotation. |
|
Rotation(double degrees)
Creates a rotation using the given degrees. |
|
Rotation(double x,
double y,
double degrees)
Creates a rotation using the given axis and degrees. |
|
Rotation(Rotation rotation)
Creates a copy of the given rotation. |
|
| Method Summary | |
|---|---|
double |
getDegrees()
Returns the degree of rotation. |
void |
setDegrees(double degrees)
Sets the degree of rotation. |
| 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 Rotation()
public Rotation(double degrees)
degrees - the degree of rotation
public Rotation(double x,
double y,
double degrees)
x - the x-coordinate of the axis of rotationy - the y-coordinate of the axis of rotationdegrees - the degree of rotationpublic Rotation(Rotation rotation)
rotation - the rotation to be copied| Method Detail |
|---|
public double getDegrees()
public void setDegrees(double degrees)
degrees - the degree of rotation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||