Package net.minecraft.util
Class FastColor.ABGR32
java.lang.Object
net.minecraft.util.FastColor.ABGR32
- Enclosing class:
FastColor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
alpha
(int packedColor) static int
blue
(int packedColor) static int
color
(int alpha, int packedColor) static int
color
(int alpha, int blue, int green, int red) static int
fromArgb32
(int color) static int
green
(int packedColor) static int
opaque
(int packedColor) static int
red
(int packedColor) static int
transparent
(int packedColor)
-
Constructor Details
-
ABGR32
public ABGR32()
-
-
Method Details
-
alpha
public static int alpha(int packedColor) -
red
public static int red(int packedColor) -
green
public static int green(int packedColor) -
blue
public static int blue(int packedColor) -
transparent
public static int transparent(int packedColor) -
opaque
public static int opaque(int packedColor) -
color
public static int color(int alpha, int blue, int green, int red) -
color
public static int color(int alpha, int packedColor) -
fromArgb32
public static int fromArgb32(int color)
-