Class ImageOutputDevice

    • Constructor Detail

      • ImageOutputDevice

        public ImageOutputDevice()
    • Method Detail

      • getXResolution

        public int getXResolution()
        Returns:
        the horizontal output resolution in dots per inch (DPI).
      • setXResolution

        public void setXResolution​(int resolution)
        Set the horizontal output resolution in dots per inch (DPI).
        Parameters:
        resolution - horizontal output resolution
      • getYResolution

        public int getYResolution()
        Returns:
        the vertical output resolution in dots per inch (DPI).
      • setYResolution

        public void setYResolution​(int resolution)
        Set the vertical output resolution in dots per inch (DPI).
        Parameters:
        resolution - vertical output resolution
      • setResolution

        public void setResolution​(int resolution)
        Set both the horizontal and vertical output resolutions in dots per inch (DPI).
        Parameters:
        resolution - horizontal and vertical output resolution
      • getTextAlphaBits

        public int getTextAlphaBits()
        Returns:
        The number of bits used for text antialiasing.
      • setTextAlphaBits

        public void setTextAlphaBits​(int textAlphaBits)
        Set the number of bits used for text antialiasing.
        Parameters:
        textAlphaBits - number of bits used for text antialiasing.
      • getGraphicsAlphaBits

        public int getGraphicsAlphaBits()
        Returns:
        the number of bits used for graphics antialiasing.
      • setGraphicsAlphaBits

        public void setGraphicsAlphaBits​(int graphicsAlphaBits)
        Set the number of bits used for graphics antialiasing.
        Parameters:
        graphicsAlphaBits - number of bits used for graphics antialiasing.