Package | Description |
---|---|
com.b3dgs.lionengine | |
com.b3dgs.lionengine.core | |
com.b3dgs.lionengine.drawable |
Modifier and Type | Method and Description |
---|---|
void |
Graphic.drawImage(ImageBuffer image,
int x,
int y)
Draw an image to the graphic.
|
void |
Graphic.drawImage(ImageBuffer image,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2)
Draw a part of an image from a source rectangle to a destination rectangle.
|
void |
Graphic.drawImage(ImageBuffer image,
Transform op,
int x,
int y)
Draw an image to the graphic.
|
Modifier and Type | Method and Description |
---|---|
static ImageBuffer |
UtilityImage.applyFilter(ImageBuffer image,
Filter filter)
Apply a filter to the input buffered image.
|
static ImageBuffer |
UtilityImage.applyMask(ImageBuffer imageBuffer,
ColorRgba maskColor)
Apply color mask to image.
|
static ImageBuffer |
UtilityImage.createImageBuffer(int width,
int height,
Transparency transparency)
Create a compatible buffered image.
|
static ImageBuffer |
UtilityImage.flipHorizontal(ImageBuffer image)
Apply an horizontal flip to the input image.
|
static ImageBuffer |
UtilityImage.flipVertical(ImageBuffer image)
Apply a vertical flip to the input image.
|
static ImageBuffer |
UtilityImage.getImageBuffer(ImageBuffer imageBuffer)
Get a buffered image from a buffered image.
|
static ImageBuffer |
UtilityImage.getImageBuffer(Media media,
boolean alpha)
Get a buffered image from an image file.
|
static ImageBuffer |
UtilityImage.getRasterBuffer(ImageBuffer image,
int fr,
int fg,
int fb,
int er,
int eg,
int eb,
int refSize)
Get raster buffer from data.
|
ImageBuffer |
Hq3x.getScaledImage()
Filtered buffer.
|
ImageBuffer |
Hq2x.getScaledImage()
Filtered buffer.
|
static ImageBuffer |
UtilityImage.resize(ImageBuffer image,
int width,
int height)
Resize input buffered image.
|
static ImageBuffer |
UtilityImage.rotate(ImageBuffer image,
int angle)
Rotate input buffered image.
|
static ImageBuffer[] |
UtilityImage.splitImage(ImageBuffer image,
int row,
int col)
Split an image into an array of sub image (data not shared).
|
Modifier and Type | Method and Description |
---|---|
static ImageBuffer |
UtilityImage.applyFilter(ImageBuffer image,
Filter filter)
Apply a filter to the input buffered image.
|
static ImageBuffer |
UtilityImage.applyMask(ImageBuffer imageBuffer,
ColorRgba maskColor)
Apply color mask to image.
|
static ImageBuffer |
UtilityImage.flipHorizontal(ImageBuffer image)
Apply an horizontal flip to the input image.
|
static ImageBuffer |
UtilityImage.flipVertical(ImageBuffer image)
Apply a vertical flip to the input image.
|
static ImageBuffer |
UtilityImage.getImageBuffer(ImageBuffer imageBuffer)
Get a buffered image from a buffered image.
|
static ImageBuffer |
UtilityImage.getRasterBuffer(ImageBuffer image,
int fr,
int fg,
int fb,
int er,
int eg,
int eb,
int refSize)
Get raster buffer from data.
|
static ImageBuffer |
UtilityImage.resize(ImageBuffer image,
int width,
int height)
Resize input buffered image.
|
static ImageBuffer |
UtilityImage.rotate(ImageBuffer image,
int angle)
Rotate input buffered image.
|
static void |
UtilityImage.saveImage(ImageBuffer image,
Media media)
Save an image into a file.
|
static ImageBuffer[] |
UtilityImage.splitImage(ImageBuffer image,
int row,
int col)
Split an image into an array of sub image (data not shared).
|
Constructor and Description |
---|
Hq2x(ImageBuffer srcImage)
Constructor.
|
Hq3x(ImageBuffer srcImage)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ImageBuffer |
SpriteAnimated.getFrame(int frame)
Get the representative surface of a frame.
|
ImageBuffer |
SpriteParallaxed.getLine(int line)
Get a parallax line (store it on a new buffered image, no reference, can be slow).
|
ImageBuffer |
Sprite.getSurface()
Get the sprite surface.
|
ImageBuffer |
Image.getSurface()
Get the surface which represents the image.
|
ImageBuffer |
SpriteTiled.getTile(int tile)
Get a tile (store it on a new buffered image, no reference, can be slow).
|
Modifier and Type | Method and Description |
---|---|
static Image |
Drawable.loadImage(ImageBuffer surface)
Load an image from a java image (sharing the same surface).
|
static Sprite |
Drawable.loadSprite(ImageBuffer surface)
Load a sprite from a buffered image (sharing the same surface).
|
static SpriteAnimated |
Drawable.loadSpriteAnimated(ImageBuffer surface,
int horizontalFrames,
int verticalFrames)
Load an animated sprite, giving horizontal and vertical frames (sharing the same surface).
|
static SpriteTiled |
Drawable.loadSpriteTiled(ImageBuffer surface,
int tileWidth,
int tileHeight)
Load a tiled sprite using an image reference, giving tile dimension (sharing the same surface).
|
Copyright © 2014 Byron 3D Games Studio. All rights reserved.