Package com.diozero.api
Class AnimationInstance.KeyFrame
java.lang.Object
com.diozero.api.AnimationInstance.KeyFrame
- Enclosing class:
- AnimationInstance
public static class AnimationInstance.KeyFrame
extends java.lang.Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static java.util.List<AnimationInstance.KeyFrame[]>
fromValues(float[][] values)
java.lang.Float
getDelta()
java.lang.String
getEasing()
EasingFunction
getEasingFunction()
float
getValue()
float
getValue(float previousValue)
boolean
isChange()
AnimationInstance.KeyFrame
setChange(boolean change)
AnimationInstance.KeyFrame
setDelta(float delta)
AnimationInstance.KeyFrame
setEasing(java.lang.String easing)
AnimationInstance.KeyFrame
setValue(float value)
java.lang.String
toString()
-
Constructor Details
-
Method Details
-
getValue
public float getValue() -
getValue
public float getValue(float previousValue) -
setValue
-
getDelta
public java.lang.Float getDelta() -
setDelta
-
isChange
public boolean isChange() -
setChange
-
getEasing
public java.lang.String getEasing() -
setEasing
-
getEasingFunction
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
fromValues
-