Package io.github.humbleui.skija
Class Color
- java.lang.Object
-
- io.github.humbleui.skija.Color
-
public class Color extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Color()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetA(int color)static intgetB(int color)static intgetG(int color)static intgetR(int color)static intmakeARGB(int a, int r, int g, int b)static intmakeLerp(int c1, int c2, float weight)static intmakeRGB(int r, int g, int b)static intwithA(int color, int a)static intwithB(int color, int b)static intwithG(int color, int g)static intwithR(int color, int r)
-
-
-
Method Detail
-
makeLerp
public static int makeLerp(int c1, int c2, float weight)
-
makeARGB
public static int makeARGB(int a, int r, int g, int b)
-
makeRGB
public static int makeRGB(int r, int g, int b)
-
getA
public static int getA(int color)
-
getR
public static int getR(int color)
-
getG
public static int getG(int color)
-
getB
public static int getB(int color)
-
withA
public static int withA(int color, int a)
-
withR
public static int withR(int color, int r)
-
withG
public static int withG(int color, int g)
-
withB
public static int withB(int color, int b)
-
-