Package | Description |
---|---|
at.tuwien.ifs.somtoolbox.util |
Provides various helper classes.
|
Modifier and Type | Method and Description |
---|---|
static ImageUtils.Origin |
ImageUtils.Origin.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageUtils.Origin[] |
ImageUtils.Origin.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static int |
ImageUtils.findNumberOfColumnsToCrop(BufferedImage bi,
ImageUtils.Origin origin)
Computes how many cols of pixels can be cropped from the specified
ImageUtils.Origin ; only LEFT and
RIGHT are valid |
private static int |
ImageUtils.findNumberOfRowsToCrop(BufferedImage bi,
ImageUtils.Origin origin)
Computes how many rows of pixels can be cropped from the specified
ImageUtils.Origin ; only TOP and
BOTTOM are valid |