org.newdawn.slick.font.effects
Interface Effect
- All Known Subinterfaces:
- ConfigurableEffect
- All Known Implementing Classes:
- ColorEffect, FilterEffect, GradientEffect, OutlineEffect, OutlineWobbleEffect, OutlineZigzagEffect, ShadowEffect
public interface Effect
A graphical effect that is applied to glyphs in a UnicodeFont
.
- Author:
- Nathan Sweet
Method Summary |
void |
draw(java.awt.image.BufferedImage image,
java.awt.Graphics2D g,
UnicodeFont unicodeFont,
Glyph glyph)
Called to draw the effect. |
draw
void draw(java.awt.image.BufferedImage image,
java.awt.Graphics2D g,
UnicodeFont unicodeFont,
Glyph glyph)
- Called to draw the effect.
- Parameters:
image
- The image to draw intog
- The graphics context to use for applying the effectunicodeFont
- The font being renderedglyph
- The particular glyph being rendered
Copyright © 2006 New Dawn Software. All Rights Reserved.