Package | Description |
---|---|
org.cell2d | |
org.cell2d.celick | |
org.cell2d.celick.geom | |
org.cell2d.celick.opengl.pbuffer |
Modifier and Type | Method and Description |
---|---|
Image |
ColorFilter.getFilteredImage(Image image) |
Image |
ColorMapFilter.getFilteredImage(Image image) |
Image |
ColorMultiplyFilter.getFilteredImage(Image image) |
Image |
Filter.getFilteredImage(Image image)
Returns the transformation through this Filter of the specified
Celick
image.
|
Modifier and Type | Method and Description |
---|---|
Image |
ColorFilter.getFilteredImage(Image image) |
Image |
ColorMapFilter.getFilteredImage(Image image) |
Image |
ColorMultiplyFilter.getFilteredImage(Image image) |
Image |
Filter.getFilteredImage(Image image)
Returns the transformation through this Filter of the specified
Celick
image.
|
Constructor and Description |
---|
Sprite(Image image,
Filter... filters)
Constructs a Sprite from a
Celick
Image.
|
Modifier and Type | Class and Description |
---|---|
class |
SpriteSheet
A sheet of sprites that can be drawn individually
|
Modifier and Type | Field and Description |
---|---|
protected static Image |
Image.inUse
The sprite sheet currently in use
|
Modifier and Type | Method and Description |
---|---|
Image |
Image.copy()
Get a copy of this image.
|
Image |
Image.getBlankCopy()
Constructs and returns a new Image that is identical to this one in
every way, including width and height, except that its actual pixel
data is blank.
|
Image |
Image.getFlippedCopy(boolean flipHorizontal,
boolean flipVertical)
Get a copy image flipped on potentially two axis
|
Image |
ImageBuffer.getImage()
Get an image generated based on this buffer
|
Image |
ImageBuffer.getImage(int filter)
Get an image generated based on this buffer
|
Image |
Image.getScaledCopy(float scale)
Get a scaled copy of this image with a uniform scale
|
Image |
Image.getScaledCopy(int width,
int height)
Get a scaled copy of this image
|
Image |
SpriteSheet.getSprite(int x,
int y)
Get a sprite at a particular cell on the sprite sheet
|
Image |
SpriteSheet.getSubImage(int x,
int y)
Get the sub image cached in this sprite sheet
|
Image |
Image.getSubImage(int x,
int y,
int width,
int height)
Get a sub-part of this image.
|
Modifier and Type | Method and Description |
---|---|
void |
Graphics.copyArea(Image target,
int x,
int y)
Copy an area of the rendered screen into an image.
|
void |
Graphics.drawImage(Image image,
float x,
float y)
Draw an image to the screen
|
void |
Graphics.drawImage(Image image,
float x,
float y,
Color col)
Draw an image to the screen
|
void |
Graphics.drawImage(Image image,
float x,
float y,
float srcx,
float srcy,
float srcx2,
float srcy2)
Draw a section of an image at a particular location and scale on the
screen
|
void |
Graphics.drawImage(Image image,
float x,
float y,
float srcx,
float srcy,
float srcx2,
float srcy2,
Color col)
Draw a section of an image at a particular location and scale on the
screen
|
void |
Graphics.drawImage(Image image,
float x,
float y,
float x2,
float y2,
float srcx,
float srcy,
float srcx2,
float srcy2)
Draw a section of an image at a particular location and scale on the
screen
|
void |
Graphics.drawImage(Image image,
float x,
float y,
float x2,
float y2,
float srcx,
float srcy,
float srcx2,
float srcy2,
Color col)
Draw a section of an image at a particular location and scale on the
screen
|
void |
Graphics.fillRect(float x,
float y,
float width,
float height,
Image pattern,
float offX,
float offY)
Tile a rectangle with a pattern specifing the offset from the top corner
that one tile should match
|
void |
GameContainer.setMouseCursor(Image image,
int hotSpotX,
int hotSpotY)
Set the mouse cursor to be displayed - this is a hardware cursor and hence
shouldn't have any impact on FPS.
|
void |
Graphics.texture(Shape shape,
Image image)
Draw the the given shape filled in with a texture
|
void |
Graphics.texture(Shape shape,
Image image,
boolean fit)
Draw the the given shape filled in with a texture
|
void |
Graphics.texture(Shape shape,
Image image,
float scaleX,
float scaleY)
Draw the the given shape filled in with a texture
|
void |
Graphics.texture(Shape shape,
Image image,
float scaleX,
float scaleY,
boolean fit)
Draw the the given shape filled in with a texture
|
void |
Graphics.texture(Shape shape,
Image image,
float scaleX,
float scaleY,
ShapeFill fill)
Draw the the given shape filled in with a texture
|
void |
Graphics.texture(Shape shape,
Image image,
ShapeFill fill)
Draw the the given shape filled in with a texture
|
Constructor and Description |
---|
AngelCodeFont(java.lang.String fntFile,
Image image)
Create a new font based on a font definition from AngelCode's tool and
the font image generated from the tool.
|
AngelCodeFont(java.lang.String fntFile,
Image image,
boolean caching)
Create a new font based on a font definition from AngelCode's tool and
the font image generated from the tool.
|
Image(Image other)
Create a texture as a copy of another
|
SpriteSheet(Image image,
int tw,
int th)
Create a new sprite sheet based on a image location
|
SpriteSheet(Image image,
int tw,
int th,
int spacing)
Create a new sprite sheet based on a image location
|
SpriteSheet(Image image,
int tw,
int th,
int spacing,
int margin)
Create a new sprite sheet based on a image location
|
Modifier and Type | Method and Description |
---|---|
static void |
ShapeRenderer.texture(Shape shape,
Image image)
Draw the the given shape filled in with a texture.
|
static void |
ShapeRenderer.texture(Shape shape,
Image image,
float scaleX,
float scaleY)
Draw the the given shape filled in with a texture.
|
static void |
ShapeRenderer.texture(Shape shape,
Image image,
float scaleX,
float scaleY,
ShapeFill fill)
Draw the the given shape filled in with a texture.
|
static void |
ShapeRenderer.texture(Shape shape,
Image image,
TexCoordGenerator gen)
Draw the the given shape filled in with a texture.
|
static void |
ShapeRenderer.textureFit(Shape shape,
Image image)
Draw the the given shape filled in with a texture.
|
static void |
ShapeRenderer.textureFit(Shape shape,
Image image,
float scaleX,
float scaleY)
Draw the the given shape filled in with a texture.
|
Modifier and Type | Method and Description |
---|---|
static Graphics |
GraphicsFactory.getGraphicsForImage(Image image)
Get a graphics context for a particular image
|
static void |
GraphicsFactory.releaseGraphicsForImage(Image image)
Release any graphics context that is assocaited with the given image
|
Constructor and Description |
---|
FBOGraphics(Image image)
Create a new graphics context around an FBO
|
PBufferGraphics(Image image)
Create a new graphics context around a pbuffer
|
PBufferUniqueGraphics(Image image)
Create a new graphics context around a pbuffer
|