Class BufferedImageBasedWriter

    • Constructor Detail

      • BufferedImageBasedWriter

        public BufferedImageBasedWriter()
    • Method Detail

      • setBackground

        public void setBackground​(Color value)
        Sets the background color to use in creating the image.
        Parameters:
        value - the color to use for background
      • getBackground

        public Color getBackground()
        Returns the current background color.
        Returns:
        the current background color
      • backgroundTipText

        public String backgroundTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • typeTipText

        public String typeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • newImage

        protected BufferedImage newImage​(int width,
                                         int height)
        Creates a new BufferedImage with the given dimensions.
        Parameters:
        width - the width
        height - the height
        Returns:
        the image
      • createBufferedImage

        protected BufferedImage createBufferedImage()
        Generates the BufferedImage to write to disk.
        Returns:
        the created image