Package team.lodestar.lodestone.helpers
Class ColorHelper
java.lang.Object
team.lodestar.lodestone.helpers.ColorHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Colorstatic Colorstatic Colorstatic Colorstatic Colorstatic Colorstatic intgetColor(double r, double g, double b, double a) static ColorgetColor(int decimal) static intgetColor(int r, int g, int b) static intgetColor(int r, int g, int b, int a) static intstatic ColormulticolorLerp(Easing easing, double pct, double min, double max, Color... colors) static ColormulticolorLerp(Easing easing, double delta, double min, double max, List<Color> colors) static ColormulticolorLerp(Easing easing, double delta, Color... colors) static ColormulticolorLerp(Easing easing, double delta, List<Color> colors) static void
-
Constructor Details
-
ColorHelper
public ColorHelper()
-
-
Method Details
-
getColor
-
RGBToHSV
-
getColor
-
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(double r, double g, double b, double a) -
colorLerp
-
colorLerp
-
multicolorLerp
-
multicolorLerp
-
multicolorLerp
-
multicolorLerp
-
darker
-
darker
-
brighter
-
brighter
-