Interface FloodRable

  • All Superinterfaces:
    Filter, java.awt.image.renderable.RenderableImage
    All Known Implementing Classes:
    FloodRable8Bit

    public interface FloodRable
    extends Filter
    Fills the input image with a given paint
    Version:
    $Id: FloodRable.java 1733416 2016-03-03 07:07:13Z gadams $
    • Field Summary

      • Fields inherited from interface java.awt.image.renderable.RenderableImage

        HINTS_OBSERVED
    • Method Detail

      • setFloodPaint

        void setFloodPaint​(java.awt.Paint paint)
        Set the flood paint.
        Parameters:
        paint - the flood paint to use when filling
      • getFloodPaint

        java.awt.Paint getFloodPaint()
        Get the flood paint.
        Returns:
        The current flood paint for the filter
      • setFloodRegion

        void setFloodRegion​(java.awt.geom.Rectangle2D floodRegion)
        Sets the flood region
        Parameters:
        floodRegion - region to flood with floodPaint
      • getFloodRegion

        java.awt.geom.Rectangle2D getFloodRegion()
        Get the flood region