Class CompositeColorCache

java.lang.Object
dev.cerus.maps.api.graphics.CompositeColorCache

public class CompositeColorCache extends Object
  • Constructor Details

    • CompositeColorCache

      public CompositeColorCache()
  • Method Details

    • getComposite

      public static byte getComposite(byte color1, byte color2, float alpha)
    • getCompositeOrCompute

      public static byte getCompositeOrCompute(byte color1, byte color2, float alpha, Supplier<Byte> func)
    • enable

      public static void enable()
    • disable

      public static void disable()
    • clear

      public static void clear()
    • size

      public static int size()