Package | Description |
---|---|
org.foxlabs.validation.constraint |
Modifier and Type | Method and Description |
---|---|
ImageAdjust |
ImageSizeConstraint.getAdjustMode()
Returns image size adjust mode.
|
static ImageAdjust |
ImageAdjust.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageAdjust[] |
ImageAdjust.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Constraint<Image> |
ConstraintFactory.awtImageSize(int maxWidth,
int maxHeight,
ImageAdjust adjust)
Returns constraint that checks whether the size of an image is within
maximum bounds.
|
static Constraint<byte[]> |
ConstraintFactory.rawImageSize(int maxWidth,
int maxHeight,
ImageAdjust adjust)
Returns constraint that checks whether the size of a raw image is within
maximum bounds.
|
Constructor and Description |
---|
ImageSizeConstraint(int maxWidth,
int maxHeight,
ImageAdjust adjust)
Constructs a new
ImageSizeConstraint with the specified
maximum bounds and adjust mode. |
Copyright © 2011–2020 FoxLabs. All rights reserved.