Class TransparencyFillOpImage

  • All Implemented Interfaces:
    RenderedImage, ImageJAI, PropertyChangeEmitter, PropertySource, WritablePropertySource

    public class TransparencyFillOpImage
    extends AreaOpImage
    • Field Summary

      • Fields inherited from class AreaOpImage

        bottomPadding, extender, leftPadding, rightPadding, topPadding
      • Fields inherited from class OpImage

        cache, cobbleSources, OP_COMPUTE_BOUND, OP_IO_BOUND, OP_NETWORK_BOUND, tileCacheMetric, tileRecycler
      • Fields inherited from class PlanarImage

        colorModel, eventManager, height, minX, minY, properties, sampleModel, tileFactory, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void computeRect​(Raster[] sources, WritableRaster dest, Rectangle destRect)
      Performs fill on a specified rectangle.
      Vector<RenderedImage> getSources()  
      • Methods inherited from class AreaOpImage

        computeTile, getBorderExtender, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, mapDestRect, mapSourceRect
      • Methods inherited from class OpImage

        addTileToCache, cancelTiles, computeRect, computesUniqueTiles, createTile, dispose, getExpandedNumBands, getFormatTags, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorize
      • Methods inherited from class PlanarImage

        addPropertyChangeListener, addPropertyChangeListener, addSink, addSink, addSource, addTileComputationListener, copyData, copyData, copyExtendedData, createColorModel, createSnapshot, createWritableRaster, finalize, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, getData, getData, getDefaultColorModel, getExtendedData, getGraphics, getHeight, getImageID, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumBands, getNumSources, getNumXTiles, getNumYTiles, getProperties, getProperty, getPropertyClass, getPropertyNames, getPropertyNames, getSampleModel, getSinks, getSource, getSourceImage, getSourceObject, getSplits, getTileComputationListeners, getTileFactory, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileIndices, getTileRect, getTiles, getTileWidth, getWidth, overlapsMultipleTiles, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeSink, removeSink, removeSinks, removeSource, removeSources, removeTileComputationListener, setImageLayout, setProperties, setProperty, setSource, setSources, tileXToX, tileXToX, tileYToY, tileYToY, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY
    • Constructor Detail

      • TransparencyFillOpImage

        public TransparencyFillOpImage​(RenderedImage source,
                                       BorderExtender extender,
                                       TransparencyFillDescriptor.FillType type,
                                       Map config,
                                       ImageLayout layout,
                                       Number noData,
                                       Integer width)
        Creates a TransparencyFillOpImage given a ParameterBlock containing the image source. The image dimensions are derived from the source image. The tile grid layout, SampleModel, and ColorModel may optionally be specified by an ImageLayout object.
        Parameters:
        source - a RenderedImage.
        extender - a BorderExtender, or null.
        type - a TransparencyFillDescriptor.FillType type to be used for transparency filling
        layout - an ImageLayout optionally containing the tile grid layout, SampleModel, and ColorModel, or null.
    • Method Detail

      • computeRect

        protected void computeRect​(Raster[] sources,
                                   WritableRaster dest,
                                   Rectangle destRect)
        Performs fill on a specified rectangle. The sources are cobbled.
        Overrides:
        computeRect in class OpImage
        Parameters:
        sources - an array of source Rasters, guaranteed to provide all necessary source data for computing the output.
        dest - a WritableRaster tile containing the area to be computed.
        destRect - the rectangle within dest to be processed.