Class ColorUtil

java.lang.Object
com.github.weisj.jsvg.util.ColorUtil

public final class ColorUtil extends Object
  • Method Details

    • withAlpha

      public static Color withAlpha(@NotNull @NotNull Color c, float alpha)
    • toString

      public static String toString(@Nullable @Nullable Color c)
    • RGBtoHSL

      public static void RGBtoHSL(int r, int g, int b, float @NotNull [] hsl)
    • HSLtoRGB

      public static void HSLtoRGB(float h, float s, float l, int @NotNull [] rgb)