Package dev.cerus.maps.api.graphics
Class CompositeColorCache
java.lang.Object
dev.cerus.maps.api.graphics.CompositeColorCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
static void
disable()
static void
enable()
static byte
getComposite(byte color1, byte color2, float alpha)
static byte
getCompositeOrCompute(byte color1, byte color2, float alpha, Supplier<Byte> func)
static int
size()
-
Constructor Details
-
CompositeColorCache
public CompositeColorCache()
-
-
Method Details
-
getComposite
public static byte getComposite(byte color1, byte color2, float alpha) -
getCompositeOrCompute
-
enable
public static void enable() -
disable
public static void disable() -
clear
public static void clear() -
size
public static int size()
-