java.lang.Object com.realtime.crossfire.jxclient.faces.ImageScale8d
public class ImageScale8d
A utility to scale down an image by 8 in both dimensions.
Field Summary | |
---|---|
private int |
height
The height of the image. |
private int[] |
srcData
The source data from the image. |
private int |
width
The width of the image. |
Constructor Summary | |
---|---|
ImageScale8d(javax.swing.Icon srcImageIcon)
Creates a new instance. |
Method Summary | |
---|---|
javax.swing.ImageIcon |
getScaledImage()
Returns the scaled image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int height
@NotNull private final int[] srcData
private final int width
Constructor Detail |
---|
public ImageScale8d(@NotNull javax.swing.Icon srcImageIcon)
srcImageIcon
- the image to scaleMethod Detail |
---|
@NotNull public javax.swing.ImageIcon getScaledImage()