Class BufferedImageRaster

    • Constructor Detail

      • BufferedImageRaster

        public BufferedImageRaster​(Sector sector,
                                   java.awt.image.BufferedImage bufferedImage)
      • BufferedImageRaster

        public BufferedImageRaster​(Sector sector,
                                   java.awt.image.BufferedImage bufferedImage,
                                   AVList list)
      • BufferedImageRaster

        public BufferedImageRaster​(int width,
                                   int height,
                                   int transparency,
                                   Sector sector)
    • Method Detail

      • getBufferedImage

        public java.awt.image.BufferedImage getBufferedImage()
      • getGraphics

        public java.awt.Graphics2D getGraphics()
      • drawOnTo

        public void drawOnTo​(DataRaster canvas)
        Description copied from interface: DataRaster
        Copies this raster into a specified raster.
        Specified by:
        drawOnTo in interface DataRaster
        Parameters:
        canvas - - the raster to copy into.
      • fill

        public void fill​(java.awt.Color color)
      • getSizeInBytes

        public long getSizeInBytes()
        Description copied from interface: Cacheable
        Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size for smaller objects, but use approximate values for objects that include such large components that the approximation would produce an error so small that the extra computation would be wasteful.
        Specified by:
        getSizeInBytes in interface Cacheable
        Returns:
        this Cacheable object's size in bytes
      • dispose

        public void dispose()
        Description copied from interface: Disposable
        Disposes of any internal resources allocated by the object.
        Specified by:
        dispose in interface Disposable
      • wrap

        public static DataRaster wrap​(java.awt.image.BufferedImage image,
                                      AVList params)
      • wrapAsGeoreferencedRaster

        public static DataRaster wrapAsGeoreferencedRaster​(java.awt.image.BufferedImage image,
                                                           AVList params)