Package org.polyfrost.polyui.color
Class PolyColor.Animatable
-
- All Implemented Interfaces:
-
org.polyfrost.polyui.color.PolyColor
public class PolyColor.Animatable extends PolyColor.Mutable
-
-
Constructor Summary
Constructors Constructor Description PolyColor.Animatable(Float hue, Float saturation, Float brightness, Float alpha)
-
Method Summary
Modifier and Type Method Description Unitrecolor(PolyColor to, Animation animation)recolor this color to the target color, with the given animation type and duration. Booleanupdate(Long deltaTimeNanos)update the color animation, if present. -
Methods inherited from class org.polyfrost.polyui.color.PolyColor.Mutable
equals, getAlpha, getArgb, getBrightness, getHue, getSaturation, hashCode, recolor, setAlpha, setBrightness, setHue, setSaturation, toString -
Methods inherited from class org.polyfrost.polyui.color.PolyColor
alpha, blue, getTransparent, green, red -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-