APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.tools.hiero.unicodefont.effects

public Class FilterEffect

extends Object
implements Effect
Class Inheritance
All Implemented Interfaces
com.badlogic.gdx.tools.hiero.unicodefont.effects.Effect
Imports
java.awt.Graphics2D, java.awt.image.BufferedImage, .BufferedImageOp, com.badlogic.gdx.tools.hiero.unicodefont.Glyph, .UnicodeFont

Applys a BufferedImageOp filter to glyphs. Many filters can be fond here: http://www.jhlabs.com/ip/filters/index.html
Author
Nathan Sweet

Field Summary

Modifier and TypeField and Description
private BufferedImageOp

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
draw(BufferedImage image, Graphics2D g, UnicodeFont unicodeFont, Glyph glyph)

Implements com.badlogic.gdx.tools.hiero.unicodefont.effects.Effect.draw.

Called to draw the effect.

public BufferedImageOp
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

filterback to summary
private BufferedImageOp filter

Constructor Detail

FilterEffectback to summary
public FilterEffect()
FilterEffectback to summary
public FilterEffect(BufferedImageOp filter)

Method Detail

drawback to summary
public void draw(BufferedImage image, Graphics2D g, UnicodeFont unicodeFont, Glyph glyph)

Implements com.badlogic.gdx.tools.hiero.unicodefont.effects.Effect.draw.

Doc from com.badlogic.gdx.tools.hiero.unicodefont.effects.Effect.draw.

Called to draw the effect.

getFilterback to summary
public BufferedImageOp getFilter()
setFilterback to summary
public void setFilter(BufferedImageOp filter)