Package ai.extend.types
Class ParseRunOutputMetadataPagesItem
- java.lang.Object
-
- ai.extend.types.ParseRunOutputMetadataPagesItem
-
public final class ParseRunOutputMetadataPagesItem extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceParseRunOutputMetadataPagesItem._FinalStagestatic classParseRunOutputMetadataPagesItem.Builderstatic interfaceParseRunOutputMetadataPagesItem.DpiStagestatic interfaceParseRunOutputMetadataPagesItem.NumberStagestatic interfaceParseRunOutputMetadataPagesItem.OriginalPageHeightStagestatic interfaceParseRunOutputMetadataPagesItem.OriginalPageWidthStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParseRunOutputMetadataPagesItem.NumberStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()doublegetDpi()intgetNumber()doublegetOriginalPageHeight()doublegetOriginalPageWidth()java.util.Optional<java.lang.Integer>getRotationApplied()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getNumber
public int getNumber()
- Returns:
- The page number this entry describes.
-
getRotationApplied
public java.util.Optional<java.lang.Integer> getRotationApplied()
- Returns:
- Degrees Extend rotated the page clockwise to make it upright.
0if rotation detection ran and the page was already upright;nullif rotation detection was disabled for this run.
-
getOriginalPageWidth
public double getOriginalPageWidth()
- Returns:
- The file's true page width, independent of rendering resolution.
-
getOriginalPageHeight
public double getOriginalPageHeight()
- Returns:
- The file's true page height, independent of rendering resolution.
-
getDpi
public double getDpi()
- Returns:
- The DPI that
boundingBox/polygoncoordinates on this page are scaled to. MultiplyoriginalPageWidth/originalPageHeightbydpi / 72to convert them into that same coordinate space.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static ParseRunOutputMetadataPagesItem.NumberStage builder()
-
-