public final class RCImage extends Object
RCView view. Each set is a single instance containing the images used
in play. There are three sets, each having a common image type: png, gif
or jpg. The images are assumed to have a uniform aspect ratio, defined
in RCTile.RCTile| Modifier and Type | Field and Description |
|---|---|
static Color |
borderColor
Theme color
|
| Modifier and Type | Method and Description |
|---|---|
static RCImage |
getNextSet()
Return the next set of images in the series.
|
static RCImage |
getSet()
Return the current set of images.
|
static ImageIcon |
scale(Image image,
int w,
int h)
Create a scaled ImageIcon from the given image.
|
public static final Color borderColor
public static RCImage getSet()
public static ImageIcon scale(Image image, int w, int h)
image - the image to scalew - desired widthh - desired heightpublic static RCImage getNextSet()
Copyright © 2007 Gem City Software. Distributed under the terms of the GPL