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 java.awt.image.renderable.RenderableImage
HINTS_OBSERVED
-
Method Summary
Modifier and TypeMethodDescriptionGet the flood paint.Get the flood regionvoid
setFloodPaint
(Paint paint) Set the flood paint.void
setFloodRegion
(Rectangle2D floodRegion) Sets the flood regionMethods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
Methods inherited from interface java.awt.image.renderable.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
Paint getFloodPaint()Get the flood paint.- Returns:
- The current flood paint for the filter
-
setFloodRegion
Sets the flood region- Parameters:
floodRegion
- region to flood with floodPaint
-
getFloodRegion
Rectangle2D getFloodRegion()Get the flood region
-