GrammarScope  4.0.0
Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | List of all members
grammarscope.browser.renderer.ColorChanger Class Reference

Static Public Member Functions

static BufferedImage changeColor (final BufferedImage image0, final Color replacement)
 

Static Public Attributes

static final int ALPHA = 0
 
static final int RED = 1
 
static final int GREEN = 2
 
static final int BLUE = 3
 
static final int HUE = 0
 
static final int SATURATION = 1
 
static final int BRIGHTNESS = 2
 
static final int TRANSPARENT = 0
 

Private Member Functions

 ColorChanger ()
 

Static Private Member Functions

static int getNewPixelRGB (final float hue, final int pixel0)
 
static int[] getRGBArray (final int rgb)
 
static float[] getHSBArray (final int rgb)
 

Constructor & Destructor Documentation

◆ ColorChanger()

grammarscope.browser.renderer.ColorChanger.ColorChanger ( )
private

Member Function Documentation

◆ changeColor()

static BufferedImage grammarscope.browser.renderer.ColorChanger.changeColor ( final BufferedImage  image0,
final Color  replacement 
)
static

◆ getHSBArray()

static float [] grammarscope.browser.renderer.ColorChanger.getHSBArray ( final int  rgb)
staticprivate

◆ getNewPixelRGB()

static int grammarscope.browser.renderer.ColorChanger.getNewPixelRGB ( final float  hue,
final int  pixel0 
)
staticprivate

◆ getRGBArray()

static int [] grammarscope.browser.renderer.ColorChanger.getRGBArray ( final int  rgb)
staticprivate

Member Data Documentation

◆ ALPHA

final int grammarscope.browser.renderer.ColorChanger.ALPHA = 0
static

◆ BLUE

final int grammarscope.browser.renderer.ColorChanger.BLUE = 3
static

◆ BRIGHTNESS

final int grammarscope.browser.renderer.ColorChanger.BRIGHTNESS = 2
static

◆ GREEN

final int grammarscope.browser.renderer.ColorChanger.GREEN = 2
static

◆ HUE

final int grammarscope.browser.renderer.ColorChanger.HUE = 0
static

◆ RED

final int grammarscope.browser.renderer.ColorChanger.RED = 1
static

◆ SATURATION

final int grammarscope.browser.renderer.ColorChanger.SATURATION = 1
static

◆ TRANSPARENT

final int grammarscope.browser.renderer.ColorChanger.TRANSPARENT = 0
static

The documentation for this class was generated from the following file: