Package org.apache.commons.imaging.formats.png.chunks

# 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

public final class PngChunkScal extends PngChunk

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PngChunkScal(int length, int chunkType, int crc, byte[] bytes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getUnitSpecifier()`
  `double`
  `getUnitsPerPixelXAxis()`
  `double`
  `getUnitsPerPixelYAxis()`

  ### Methods inherited from class org.apache.commons.imaging.formats.png.chunks.PngChunk

  `getBytes, getChunkType, getCrc, getDataStream, getLength, getPropertyBits, isAncillary, isPrivate, isReserved, isSafeToCopy`

  ### Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser

  `debugNumber, debugNumber, getByteOrder, setByteOrder`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PngChunkScal

    public PngChunkScal(int length, int chunkType, int crc, byte[] bytes) throws ImagingException
    Throws:
      `ImagingException`

- ## Method Details

  - ### getUnitSpecifier

    public int getUnitSpecifier()

  - ### getUnitsPerPixelXAxis

    public double getUnitsPerPixelXAxis()

  - ### getUnitsPerPixelYAxis

    public double getUnitsPerPixelYAxis()