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

Interface FloodRable

public interface FloodRable extends Filter

Fills the input image with a given paint
Method Summary
PaintgetFloodPaint()
Get the flood paint.
Rectangle2DgetFloodRegion()
Get the flood region
voidsetFloodPaint(Paint paint)
Set the flood paint.
voidsetFloodRegion(Rectangle2D floodRegion)
Sets the flood region

Method Detail

getFloodPaint

public Paint getFloodPaint()
Get the flood paint.

Returns: The current flood paint for the filter

getFloodRegion

public Rectangle2D getFloodRegion()
Get the flood region

setFloodPaint

public void setFloodPaint(Paint paint)
Set the flood paint.

Parameters: paint the flood paint to use when filling

setFloodRegion

public void setFloodRegion(Rectangle2D floodRegion)
Sets the flood region

Parameters: floodRegion region to flood with floodPaint

Copyright B) 2007 Apache Software Foundation. All Rights Reserved.