public class SignednessUtilExtra
extends java.lang.Object
SignednessUtil
has more methods.Modifier and Type | Method and Description |
---|---|
static @Unsigned int |
dimensionUnsignedHeight(java.awt.Dimension dim)
Gets the unsigned height of a
Dimension . |
static @Unsigned int |
dimensionUnsignedWidth(java.awt.Dimension dim)
Gets the unsigned width of a
Dimension . |
static @Unsigned int[] |
getUnsignedRGB(java.awt.image.BufferedImage b,
int startX,
int startY,
int w,
int h,
@Unsigned int[] rgbArray,
int offset,
int scansize)
Gets rgb of BufferedImage b as unsigned ints.
|
static void |
setUnsignedRGB(java.awt.image.BufferedImage b,
int startX,
int startY,
int w,
int h,
@Unsigned int[] rgbArray,
int offset,
int scansize)
Sets rgb of BufferedImage b given unsigned ints.
|
public static @Unsigned int dimensionUnsignedWidth(java.awt.Dimension dim)
Dimension
.public static @Unsigned int dimensionUnsignedHeight(java.awt.Dimension dim)
Dimension
.public static void setUnsignedRGB(java.awt.image.BufferedImage b, int startX, int startY, int w, int h, @Unsigned int[] rgbArray, int offset, int scansize)
setRGB(int, int,
int, int, int[], int, int)
, but assumes that the input should be interpreted as unsigned.public static @Unsigned int[] getUnsignedRGB(java.awt.image.BufferedImage b, int startX, int startY, int w, int h, @Unsigned int[] rgbArray, int offset, int scansize)
getRGB(int, int,
int, int, int[], int, int)
, but assumes that the output should be interpreted as unsigned.