Interface FloodRable
- All Superinterfaces:
Filter, RenderableImage
- All Known Implementing Classes:
FloodRable8Bit
Fills the input image with a given paint
-
Field Summary
Fields inherited from interface RenderableImage
HINTS_OBSERVED -
Method Summary
Modifier and TypeMethodDescriptionGet the flood paint.Get the flood regionvoidsetFloodPaint(Paint paint) Set the flood paint.voidsetFloodRegion(Rectangle2D floodRegion) Sets the flood regionMethods inherited from interface Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampMethods inherited from interface RenderableImage
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Method Details
-
setFloodPaint
Set the flood paint.- Parameters:
paint- the flood paint to use when filling
-
getFloodPaint
-
setFloodRegion
Sets the flood region- Parameters:
floodRegion- region to flood with floodPaint
-
getFloodRegion
Rectangle2D getFloodRegion()Get the flood region
-