Color Helper
public abstract class ColorHelper
Content copied to clipboard
Static routines of general utility for renderer implementations. Renderers are not required to use these helpers, but they were designed to be usable without the default renderer.
Functions
maxBrightness
Link copied to clipboard
multiplyColor
Link copied to clipboard
static int multiplyColor(int color1, int color2)
Content copied to clipboard
multiplyRGB
Link copied to clipboard
static int multiplyRGB(int color, float shade)
Content copied to clipboard
swapRedBlueIfNeeded
Link copied to clipboard
static int swapRedBlueIfNeeded(int color)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard