public static class MultiTouchController.PositionAndScale extends Object
Constructor and Description |
---|
MultiTouchController.PositionAndScale() |
Modifier and Type | Method and Description |
---|---|
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.
|
public MultiTouchController.PositionAndScale()
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()
Copyright © 2016. All Rights Reserved.