Interface FloodRable

All Superinterfaces:
Filter, RenderableImage
All Known Implementing Classes:
FloodRable8Bit

public interface FloodRable extends Filter
Fills the input image with a given paint
  • Method Details

    • setFloodPaint

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

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

      void setFloodRegion(Rectangle2D floodRegion)
      Sets the flood region
      Parameters:
      floodRegion - region to flood with floodPaint
    • getFloodRegion

      Rectangle2D getFloodRegion()
      Get the flood region