| Modifier and Type | Interface and Description |
|---|---|
interface |
CompositedMirage |
| Modifier and Type | Method and Description |
|---|---|
Mirage |
BundledComponentRepository.TileSetFrameImage.getTileMirage(int orient,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
VirtualMediaPanel.setBackground(Mirage background)
Set a background image to tile the background of the media panel.
|
| Constructor and Description |
|---|
HourglassView(FrameManager fmgr,
JComponent host,
int x,
int y,
Mirage glassImage,
Mirage topImage,
Rectangle topRect,
Mirage botImage,
Rectangle botRect,
MultiFrameImage sandTrickle)
Constructs an hourglass view.
|
HourglassView(FrameManager fmgr,
JComponent host,
int x,
int y,
Mirage glassImage,
Mirage topImage,
Rectangle topRect,
Point topOff,
Mirage botImage,
Rectangle botRect,
Point botOff,
MultiFrameImage sandTrickle)
Constructs an hourglass view.
|
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
ScaleAnimation.getBounds(float scale,
Point center,
Mirage image)
Java wants the first call in a constructor to be super() if it exists at all, so we have to
trick it with this function.
|
static Point |
ScaleAnimation.getSize(float scale,
Mirage image)
Computes the width and height to which an image should be scaled.
|
| Constructor and Description |
|---|
BlendAnimation(int x,
int y,
Mirage[] images,
int delay)
Blends from the starting image through each successive image in the specified amount of
time (blending between each image takes place in
delay milliseconds). |
BobbleAnimation(Mirage image,
int sx,
int sy,
int rx,
int ry,
int duration)
Constructs a bobble animation.
|
ExplodeAnimation(Mirage image,
ExplodeAnimation.ExplodeInfo info,
int x,
int y,
int width,
int height)
Constructs an explode animation with the chunks represented as portions of the actual
image.
|
FadeImageAnimation(Mirage image,
int x,
int y,
float alpha,
float step,
float target)
Creates an image fading animation.
|
ScaleAnimation(Mirage image,
Point center,
float startScale,
float endScale,
int duration)
Creates a scale animation with the supplied image.
|
SparkAnimation(Rectangle bounds,
int x,
int y,
int xjog,
int yjog,
float minxvel,
float minyvel,
float maxxvel,
float maxyvel,
float xacc,
float yacc,
Mirage[] images,
long delay,
boolean fade)
Constructs a spark animation with the supplied parameters.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BackedVolatileMirage
Provides a volatile mirage that is backed by a buffered image that is
not obtained from the image manager but is instead provided at
construct time and completely circumvents the image manager's cache.
|
class |
BlankMirage
A mirage implementation that contains no image data.
|
class |
BufferedMirage
A simple mirage implementation that uses a buffered image.
|
class |
CachedVolatileMirage
A mirage implementation which allows the image to be maintained in
video memory and refetched from the image manager in the event that our
target screen resolution changes or we are flushed from video memory
for some other reason.
|
class |
CompositeMirage |
class |
NinePatchMirage
|
class |
SolidMirage
A simple mirage that's just a solid rectangle of color.
|
class |
TransformedMirage
Draws a mirage combined with an arbitrary AffineTransform.
|
class |
VolatileMirage
A mirage implementation which allows the image to be maintained in
video memory and rebuilt from some source image or images in the event
that our target screen resolution changes or we are flushed from video
memory for some other reason.
|
| Modifier and Type | Method and Description |
|---|---|
Mirage |
ImageManager.getMirage(ImageManager.ImageKey key)
Creates a mirage which is an image optimized for display on our current display device and
which will be stored into video memory if possible.
|
Mirage |
ImageManager.getMirage(ImageManager.ImageKey key,
Colorization[] zations)
Like
ImageManager.getMirage(ImageKey) but the supplied colorizations are applied to the source
image before creating the mirage. |
Mirage |
ImageManager.getMirage(ImageManager.ImageKey key,
Rectangle bounds)
Like
ImageManager.getMirage(ImageKey) but that only the specified subimage of the source image
is used to build the mirage. |
Mirage |
ImageManager.getMirage(ImageManager.ImageKey key,
Rectangle bounds,
Colorization[] zations)
Like
ImageManager.getMirage(ImageKey,Colorization[]) except that the mirage is created using
only the specified subset of the original image. |
Mirage |
ClientImageManager.getMirage(ImageManager.ImageKey key,
Rectangle bounds,
Colorization[] zations) |
Mirage |
ImageManager.getMirage(String rsrcPath)
Creates a mirage which is an image optimized for display on our current display device and
which will be stored into video memory if possible.
|
static Mirage |
NinePatchMirage.newNinePatchContaining(NinePatch ninePatch,
Rectangle content)
Returns a new Mirage that's a NinePatch stretched and positioned to contain the given
Rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ImageUtil.tileImage(Graphics2D gfx,
Mirage image,
int x,
int y,
int width,
int height)
Paints multiple copies of the supplied image using the supplied graphics context such that
the requested area is filled with the image.
|
static void |
ImageUtil.tileImageAcross(Graphics2D gfx,
Mirage image,
int x,
int y,
int width)
Paints multiple copies of the supplied image using the supplied graphics context such that
the requested width is filled with the image.
|
static void |
ImageUtil.tileImageDown(Graphics2D gfx,
Mirage image,
int x,
int y,
int height)
Paints multiple copies of the supplied image using the supplied graphics context such that
the requested height is filled with the image.
|
| Constructor and Description |
|---|
CompositeMirage(Mirage... mirages) |
MirageIcon(Mirage mirage) |
TransformedMirage(Mirage base,
AffineTransform transform)
Constructor for backwards compatibility that automatically repositions the transformed
mirage so its new upper-left corner is still at the origin.
|
TransformedMirage(Mirage base,
AffineTransform transform,
boolean reposition)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImageSprite.setMirage(Mirage mirage)
Set the image to be used for this sprite.
|
| Constructor and Description |
|---|
FadableImageSprite(Mirage image)
Creates a new fadable image sprite.
|
ImageSprite(Mirage image)
Constructs an image sprite that will display the supplied single image when rendering itself.
|
OrientableImageSprite(Mirage image)
Creates a new orientable image sprite.
|
| Modifier and Type | Method and Description |
|---|---|
Mirage |
SimpleCachingImageProvider.getTileImage(String path,
Rectangle bounds,
Colorization[] zations) |
Mirage |
IMImageProvider.getTileImage(String path,
Rectangle bounds,
Colorization[] zations) |
Mirage |
ImageProvider.getTileImage(String path,
Rectangle bounds,
Colorization[] zations)
Obtains the tile image with the specified path in the form of a
Mirage. |
Mirage |
TileSet.getTileMirage(int tileIndex)
Returns a prepared version of the image that would be used by the tile at the specified
index.
|
Mirage |
TileSet.getTileMirage(int tileIndex,
Colorization[] zations)
Returns a prepared version of the image that would be used by the tile at the specified
index.
|
Mirage[] |
TileSet.getTileMirages()
Returns prepared versions of the images that would be used for each of the tiles.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Tile.setImage(Mirage image)
Configures this tile with its tile image.
|
| Constructor and Description |
|---|
MultiFrameImageImpl(Mirage[] mirages)
Constructs a multiple frame image object.
|
SingleFrameImageImpl(Mirage mirage)
Constructs a single frame image object.
|
Copyright © 2015. All rights reserved.