Class ColorHelper
java.lang.Object
team.lodestar.lodestone.helpers.render.ColorHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Colorstatic Colorstatic Colorstatic Colorstatic Colorstatic Colorstatic intgetColor(float r, float g, float b, float a) static intgetColor(int r, int g, int b) static intgetColor(int r, int g, int b, int a) static ColormulticolorLerp(Easing easing, float pct, float min, float max, Color... colors) static ColormulticolorLerp(Easing easing, float pct, float min, float max, List<Color> colors) static ColormulticolorLerp(Easing easing, float pct, Color... colors) static ColormulticolorLerp(Easing easing, float pct, List<Color> colors) static void
-
Constructor Details
-
ColorHelper
public ColorHelper()
-
-
Method Details
-
colorLerp
-
colorLerp
-
multicolorLerp
-
multicolorLerp
-
multicolorLerp
-
multicolorLerp
-
RGBToHSV
-
getColor
public static int getColor(int r, int g, int b) -
getColor
public static int getColor(int r, int g, int b, int a) -
getColor
public static int getColor(float r, float g, float b, float a) -
darker
-
darker
-
brighter
-
brighter
-