Class Gradient
java.lang.Object
com.stereowalker.unionlib.util.math.Gradient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(float progress) Writes the interpolated color intooutand returns it.get(float progress, Color out, Gradient.EasingFunction easing) Same, but applies an easing function to progress before sampling.get(float progress, Gradient.EasingFunction easing) reversed()
-
Constructor Details
-
Gradient
-
Gradient
-
Gradient
-
Gradient
-
-
Method Details
-
get
-
get
Same, but applies an easing function to progress before sampling. -
get
-
get
-
reversed
-