Class ImageScale2x
java.lang.Object
com.realtime.crossfire.jxclient.faces.ImageScale2x
A utility to perform the scale2x algorithm on a Java Image.
-
Constructor Summary
ConstructorsConstructorDescriptionImageScale2x
(@NotNull Icon srcImageIcon) Creates a new scaler that will scale the passed image. -
Method Summary
-
Constructor Details
-
ImageScale2x
Creates a new scaler that will scale the passed image.- Parameters:
srcImageIcon
- the image to be scaled
-
-
Method Details
-
getScaledImage
Returns 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
-