@JsonObject(value="SizeCriterion") public class SizeCriterion extends java.lang.Object implements IImageRepresentationFormatSelectionCriterion
Modifier and Type | Class and Description |
---|---|
static class |
SizeCriterion.Type |
Constructor and Description |
---|
SizeCriterion(int width,
int height,
SizeCriterion.Type type)
Creates an instance for the specified image size and criterion type.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ImageRepresentationFormat> |
getMatching(java.util.List<ImageRepresentationFormat> imageRepresentationFormats)
Returns all
ImageRepresentationFormat objects from the specified list which fulfill
this criterion. |
public SizeCriterion(int width, int height, SizeCriterion.Type type)
public java.util.List<ImageRepresentationFormat> getMatching(java.util.List<ImageRepresentationFormat> imageRepresentationFormats)
IImageRepresentationFormatSelectionCriterion
ImageRepresentationFormat
objects from the specified list which fulfill
this criterion.getMatching
in interface IImageRepresentationFormatSelectionCriterion