public class ActionTranslate
extends <any>
Modifier and Type | Class and Description |
---|---|
static class |
ActionTranslate.TranslateType |
Modifier and Type | Field and Description |
---|---|
protected float |
mFromPointX
The x coordinate of the start point.
|
protected float |
mFromPointY
The y coordinate of the start point.
|
protected float |
mToPointX
The x coordinate of the end point.
|
protected float |
mToPointY
The y coordinate of the end point.
|
protected int |
mTranslateType |
Constructor and Description |
---|
ActionTranslate() |
Modifier and Type | Method and Description |
---|---|
float |
getFromPointX()
Gets the x coordinate of the start point of the motion.
|
float |
getFromPointY()
Gets the y coordinate of the start point of the motion.
|
float |
getToPointX()
Gets the x coordinate of the end point of the motion.
|
float |
getToPointY()
Gets the y coordinate of the end point of the motion.
|
void |
setFromPointX(float mFromPointX)
Sets the x coordinate of the start point.
|
void |
setFromPointY(float mFromPointY)
Sets the y coordinate of the start point.
|
void |
setToPointX(float mToPointX)
Sets the x coordinate of the end point.
|
void |
setToPointY(float mToPointY)
Sets the y coordinate of the end point.
|
void |
setTranslateType(ActionTranslate.TranslateType aTranslateType) |
protected float mFromPointX
protected float mFromPointY
protected float mToPointX
protected float mToPointY
protected int mTranslateType
public float getFromPointX()
public void setFromPointX(float mFromPointX)
mFromPointX
- public float getFromPointY()
public void setFromPointY(float mFromPointY)
mFromPointY
- public float getToPointX()
public void setToPointX(float mToPointX)
mToPointX
- public float getToPointY()
public void setToPointY(float mToPointY)
mToPointY
- public void setTranslateType(ActionTranslate.TranslateType aTranslateType)