org.apache.batik.ext.awt.image.renderable
Interface FloodRable

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

public interface FloodRable
extends Filter

Fills the input image with a given paint


Field Summary
 
Fields inherited from interface java.awt.image.renderable.RenderableImage
HINTS_OBSERVED
 
Method Summary
 Paint getFloodPaint()
          Get the flood paint.
 Rectangle2D getFloodRegion()
          Get the flood region
 void setFloodPaint(Paint paint)
          Set the flood paint.
 void setFloodRegion(Rectangle2D floodRegion)
          Sets the flood region
 
Methods 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 Detail

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



Copyright © 2008 Apache Software Foundation. All Rights Reserved.