Package jexer.bits
Class ImageUtils
- java.lang.Object
-
- jexer.bits.ImageUtils
-
public class ImageUtils extends java.lang.Object
ImageUtils contains methods to: - Check if an image is fully transparent.
-
-
Constructor Summary
Constructors Constructor Description ImageUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isFullyOpaque(java.awt.image.BufferedImage image)
Check if any pixels in an image have not-100% alpha value.static boolean
isFullyTransparent(java.awt.image.BufferedImage image)
Check if any pixels in an image have not-0% alpha value.
-
-
-
Method Detail
-
isFullyTransparent
public static boolean isFullyTransparent(java.awt.image.BufferedImage image)
Check if any pixels in an image have not-0% alpha value.- Returns:
- true if every pixel is fully transparent
-
isFullyOpaque
public static boolean isFullyOpaque(java.awt.image.BufferedImage image)
Check if any pixels in an image have not-100% alpha value.- Returns:
- true if every pixel is fully transparent
-
-