|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.metalev.multitouch.controller.MultiTouchController.PositionAndScale
public static class MultiTouchController.PositionAndScale
A class that is used to store scroll offsets and scale information for objects that are managed by the multitouch controller
Constructor Summary | |
---|---|
MultiTouchController.PositionAndScale()
|
Method Summary | |
---|---|
float |
getAngle()
|
float |
getScale()
|
float |
getScaleX()
Included in case you want to support anisotropic scaling |
float |
getScaleY()
Included in case you want to support anisotropic scaling |
float |
getXOff()
|
float |
getYOff()
|
void |
set(float xOff,
float yOff,
boolean updateScale,
float scale,
boolean updateScaleXY,
float scaleX,
float scaleY,
boolean updateAngle,
float angle)
Set position and optionally scale, anisotropic scale, and/or angle. |
protected void |
set(float xOff,
float yOff,
float scale,
float scaleX,
float scaleY,
float angle)
Set position and optionally scale, anisotropic scale, and/or angle, without changing the "update" flags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiTouchController.PositionAndScale()
Method Detail |
---|
public void set(float xOff, float yOff, boolean updateScale, float scale, boolean updateScaleXY, float scaleX, float scaleY, boolean updateAngle, float angle)
protected void set(float xOff, float yOff, float scale, float scaleX, float scaleY, float angle)
public float getXOff()
public float getYOff()
public float getScale()
public float getScaleX()
public float getScaleY()
public float getAngle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |