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 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Paint
getFloodPaint()
Get the flood paint.java.awt.geom.Rectangle2D
getFloodRegion()
Get the flood regionvoid
setFloodPaint(java.awt.Paint paint)
Set the flood paint.void
setFloodRegion(java.awt.geom.Rectangle2D floodRegion)
Sets the flood region-
Methods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
-
-
-
-
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
-
-