public static class IltColorModifier.Shade extends IltColorModifier
IltColorModifier.MultiColor, IltColorModifier.ShadeStandard| Constructor and Description |
|---|
Shade()
Creates a new color modifier.
|
Shade(float percent) |
| Modifier and Type | Method and Description |
|---|---|
float |
getPercent()
Returns the percentage used to produce a transparent color shade effect.
|
int |
modify(int b,
int f,
IltColorModifierContext c)
This method is invoked for each animated pixel of the gauge or chart.
|
void |
setPercent(float percent)
Sets the percentage used to produce a transparent color shade effect.
|
Blue, Color, compose, Green, Red, UseForegroundColorpublic Shade(float percent)
public Shade()
public final void setPercent(float percent)
percent - The percentage used to produce a transparent color shade
effect.public final float getPercent()
public int modify(int b,
int f,
IltColorModifierContext c)
IltColorModifierColorModel
for a particular device or for all images. It is merely used as a
common color model format.
This method is supposed to be overridden to implement the appropriate color modification.
modify in class IltColorModifierb - The background color of the chart for this pixel.f - The foreground color of the chart for this pixel.c - The context for this pixel.ColorModel.getRGBdefault(),
IltColorModifierContext© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.