Package net.webpdf.wsclient.openapi
Class DocumentMetadataImageEntry
- java.lang.Object
-
- net.webpdf.wsclient.openapi.DocumentMetadataImageEntry
-
public class DocumentMetadataImageEntry extends Object
Defines an image entry in the metadata for an image document.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COLOR_DEPTHstatic StringJSON_PROPERTY_HEIGHTstatic StringJSON_PROPERTY_IS_ANIMATEDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_ORIENTATIONstatic StringJSON_PROPERTY_UNITstatic StringJSON_PROPERTY_WIDTHstatic StringJSON_PROPERTY_X_RESstatic StringJSON_PROPERTY_Y_RES
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable IntegergetColorDepth()Color depth in bits@Nullable IntegergetHeight()Image height@Nullable BooleangetIsAnimated()True if it is an animated image@Nullable Map<String,Map<String,String>>getMetadata()Metadata dictionary of the image file format@Nullable DocumentMetadataImageOrientationgetOrientation()Get orientation@Nullable DocumentMetadataImageResolutionUnitgetUnit()Get unit@Nullable IntegergetWidth()Image width@Nullable FloatgetxRes()Horizontal resolution@Nullable FloatgetyRes()Vertical resolutioninthashCode()DocumentMetadataImageEntryorientation(DocumentMetadataImageOrientation orientation)StringtoString()DocumentMetadataImageEntryunit(DocumentMetadataImageResolutionUnit unit)
-
-
-
Field Detail
-
JSON_PROPERTY_COLOR_DEPTH
public static final String JSON_PROPERTY_COLOR_DEPTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEIGHT
public static final String JSON_PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_ANIMATED
public static final String JSON_PROPERTY_IS_ANIMATED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ORIENTATION
public static final String JSON_PROPERTY_ORIENTATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UNIT
public static final String JSON_PROPERTY_UNIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIDTH
public static final String JSON_PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_X_RES
public static final String JSON_PROPERTY_X_RES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_Y_RES
public static final String JSON_PROPERTY_Y_RES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getColorDepth
@Nullable public @Nullable Integer getColorDepth()
Color depth in bits- Returns:
- colorDepth
-
getHeight
@Nullable public @Nullable Integer getHeight()
Image height- Returns:
- height
-
getIsAnimated
@Nullable public @Nullable Boolean getIsAnimated()
True if it is an animated image- Returns:
- isAnimated
-
getMetadata
@Nullable public @Nullable Map<String,Map<String,String>> getMetadata()
Metadata dictionary of the image file format- Returns:
- metadata
-
orientation
public DocumentMetadataImageEntry orientation(DocumentMetadataImageOrientation orientation)
-
getOrientation
@Nullable public @Nullable DocumentMetadataImageOrientation getOrientation()
Get orientation- Returns:
- orientation
-
unit
public DocumentMetadataImageEntry unit(DocumentMetadataImageResolutionUnit unit)
-
getUnit
@Nullable public @Nullable DocumentMetadataImageResolutionUnit getUnit()
Get unit- Returns:
- unit
-
getWidth
@Nullable public @Nullable Integer getWidth()
Image width- Returns:
- width
-
getxRes
@Nullable public @Nullable Float getxRes()
Horizontal resolution- Returns:
- xRes
-
getyRes
@Nullable public @Nullable Float getyRes()
Vertical resolution- Returns:
- yRes
-
-