public interface Filter
A Filter represents an operation that transforms an image, such as replacing some of its colors with others. A Filter can be applied to a Sprite or SpriteSheet to create a new Sprite or SpriteSheet, or it can be included in a set of Filters that is provided to a Sprite or SpriteSheet upon its creation, allowing that Sprite or that SpriteSheet's Sprites to be drawn to a Graphics context using that Filter.
Sprite
,
SpriteSheet
Modifier and Type | Method and Description |
---|---|
Image |
getFilteredImage(Image image)
Returns the transformation through this Filter of the specified
Celick
image.
|
Image getFilteredImage(Image image)
image
- The Image to be transformed