Class PngChunkScal
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.png.chunks.PngChunk
org.apache.commons.imaging.formats.png.chunks.PngChunkScal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final doubleprivate final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoubledoubleprivate doubleMethods inherited from class PngChunk
getBytes, getChunkType, getCrc, getDataStream, getLength, getPropertyBits, isAncillary, isPrivate, isReserved, isSafeToCopyMethods inherited from class BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Field Details
-
unitsPerPixelXAxis
private final double unitsPerPixelXAxis -
unitsPerPixelYAxis
private final double unitsPerPixelYAxis -
unitSpecifier
private final int unitSpecifier
-
-
Constructor Details
-
PngChunkScal
- Throws:
ImagingException
-
-
Method Details
-
getUnitSpecifier
public int getUnitSpecifier() -
getUnitsPerPixelXAxis
public double getUnitsPerPixelXAxis() -
getUnitsPerPixelYAxis
public double getUnitsPerPixelYAxis() -
toDouble
- Throws:
ImagingException
-