Class ImagingParameters<E extends ImagingParameters<E>>

    • Field Detail

      • strict

        private boolean strict
        Whether to throw an exception when any issue occurs during reading or writing a file format. Default is false.
      • fileName

        private java.lang.String fileName
        An optional file name, used for the description of input streams where a file name would be hard (or not possible) to be identified. Default is null.
      • bufferedImageFactory

        private BufferedImageFactory bufferedImageFactory
        Creates BufferedImages. Default is null.
      • pixelDensity

        private PixelDensity pixelDensity

        Parameter key. Used in write operations to indicate the desired pixel density (DPI), and/or aspect ratio.

    • Constructor Detail

      • ImagingParameters

        public ImagingParameters()
    • Method Detail

      • asThis

        public E asThis()
        Returns this instance typed as the subclass type E.

        This is the same as the expression:

         (B) this
         
        Returns:
        this instance typed as the subclass type E.
      • getFileName

        public java.lang.String getFileName()
      • isStrict

        public boolean isStrict()
      • setBufferedImageFactory

        public E setBufferedImageFactory​(BufferedImageFactory bufferedImageFactory)
      • setFileName

        public E setFileName​(java.lang.String fileName)
      • setPixelDensity

        public E setPixelDensity​(PixelDensity pixelDensity)
      • setStrict

        public E setStrict​(boolean strict)