Class ImageScale2x
- java.lang.Object
-
- com.realtime.crossfire.jxclient.faces.ImageScale2x
-
public class ImageScale2x extends java.lang.ObjectA utility to perform the scale2x algorithm on a Java Image.
-
-
Constructor Summary
Constructors Constructor Description ImageScale2x(@NotNull javax.swing.Icon srcImageIcon)Creates a new scaler that will scale the passed image.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull javax.swing.ImageIcongetScaledImage()Retrieves the scaled image.static voidmain(@NotNull java.lang.String @NotNull [] args)An entry point and a bit of test code.
-
-
-
Method Detail
-
getScaledImage
@NotNull public @NotNull javax.swing.ImageIcon getScaledImage()
Retrieves the scaled image. Note this is the method that actually does the work so it may take some time to return.- Returns:
- the scaled image
-
main
public static void main(@NotNull @NotNull java.lang.String @NotNull [] args)An entry point and a bit of test code.- Parameters:
args- the command-line arguments (ignored)
-
-