Class ScaleByAction
- java.lang.Object
-
- com.badlogic.gdx.scenes.scene2d.Action
-
- com.badlogic.gdx.scenes.scene2d.actions.TemporalAction
-
- com.badlogic.gdx.scenes.scene2d.actions.RelativeTemporalAction
-
- com.badlogic.gdx.scenes.scene2d.actions.ScaleByAction
-
- All Implemented Interfaces:
Pool.Poolable
public class ScaleByAction extends RelativeTemporalAction
Scales an actor's scale to a relative size.
-
-
Constructor Summary
Constructors Constructor Description ScaleByAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAmountX()
float
getAmountY()
void
setAmount(float scale)
void
setAmount(float x, float y)
void
setAmountX(float x)
void
setAmountY(float y)
protected void
updateRelative(float percentDelta)
-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.actions.RelativeTemporalAction
begin, update
-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.actions.TemporalAction
act, end, finish, getDuration, getInterpolation, getTime, isComplete, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime
-
-
-
-
Method Detail
-
updateRelative
protected void updateRelative(float percentDelta)
- Specified by:
updateRelative
in classRelativeTemporalAction
-
setAmount
public void setAmount(float x, float y)
-
setAmount
public void setAmount(float scale)
-
getAmountX
public float getAmountX()
-
setAmountX
public void setAmountX(float x)
-
getAmountY
public float getAmountY()
-
setAmountY
public void setAmountY(float y)
-
-