| Modifier and Type | Field and Description |
|---|---|
| private Color | |
| private boolean | |
| private int | |
| private float | |
| private Color |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | draw(BufferedImage image, Graphics2D g, UnicodeFont unicodeFont, Glyph glyph)
Implements com. Called to draw the effect. |
| public Color | |
| public int | |
| public float | |
| public Color | |
| public List | getValues()
Implements com. Returns the list of |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setValues(List<E> values)
Implements com. Sets the list of |
| public String |
| bottomColor | back to summary |
|---|---|
| private Color bottomColor | |
| cyclic | back to summary |
|---|---|
| private boolean cyclic | |
| offset | back to summary |
|---|---|
| private int offset | |
| scale | back to summary |
|---|---|
| private float scale | |
| topColor | back to summary |
|---|---|
| private Color topColor | |
| GradientEffect | back to summary |
|---|---|
| public GradientEffect() | |
| GradientEffect | back to summary |
|---|---|
| public GradientEffect(Color topColor, Color bottomColor, float scale) | |
| draw | back to summary |
|---|---|
| public void draw(BufferedImage image, Graphics2D g, UnicodeFont unicodeFont, Glyph glyph) Implements com. Doc from com. Called to draw the effect. | |
| getBottomColor | back to summary |
|---|---|
| public Color getBottomColor() | |
| getOffset | back to summary |
|---|---|
| public int getOffset() | |
| getScale | back to summary |
|---|---|
| public float getScale() | |
| getTopColor | back to summary |
|---|---|
| public Color getTopColor() | |
| getValues | back to summary |
|---|---|
| public List Implements com. Doc from com. Returns the list of | |
| isCyclic | back to summary |
|---|---|
| public boolean isCyclic() | |
| setBottomColor | back to summary |
|---|---|
| public void setBottomColor(Color bottomColor) | |
| setCyclic | back to summary |
|---|---|
| public void setCyclic(boolean cyclic) If set to true, the gradient will repeat. | |
| setOffset | back to summary |
|---|---|
| public void setOffset(int offset) Sets the pixel offset to move the gradient up or down. The gradient is normally centered on the glyph. | |
| setScale | back to summary |
|---|---|
| public void setScale(float scale) Changes the height of the gradient by a percentage. The gradient is normally the height of most glyphs in the font. | |
| setTopColor | back to summary |
|---|---|
| public void setTopColor(Color topColor) | |
| setValues | back to summary |
|---|---|
| public void setValues(List<E> values) Implements com. Doc from com. Sets the list of | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |