|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.ext.awt.image.renderable.AbstractRable
org.apache.batik.ext.awt.image.renderable.FloodRable8Bit
public class FloodRable8Bit
Concrete implementation of the FloodRable interface. This fills the input image with a given flood paint
| Field Summary |
|---|
| Fields inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable |
|---|
props, srcs, stamp |
| Fields inherited from interface java.awt.image.renderable.RenderableImage |
|---|
HINTS_OBSERVED |
| Constructor Summary | |
|---|---|
FloodRable8Bit(Rectangle2D floodRegion,
Paint floodPaint)
|
|
| Method Summary | |
|---|---|
RenderedImage |
createRendering(RenderContext rc)
Create a RenderedImage that is filled with the current flood fill paint |
Rectangle2D |
getBounds2D()
Returns the bounds of the current image. |
Paint |
getFloodPaint()
Get the flood fill paint. |
Rectangle2D |
getFloodRegion()
Returns the flood region |
void |
setFloodPaint(Paint paint)
Set the flood fill paint |
void |
setFloodRegion(Rectangle2D floodRegion)
Sets the flood region |
| Methods inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable |
|---|
createDefaultRendering, createScaledRendering, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter |
|---|
getDependencyRegion, getDirtyRegion, getTimeStamp |
| Methods inherited from interface java.awt.image.renderable.RenderableImage |
|---|
createDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic |
| Constructor Detail |
|---|
public FloodRable8Bit(Rectangle2D floodRegion,
Paint floodPaint)
floodRegion - region to be filled with floodPaintfloodPaint - paint to use to flood the floodRegion| Method Detail |
|---|
public void setFloodPaint(Paint paint)
setFloodPaint in interface FloodRablepaint - The paint to use when flood filling the input imagepublic Paint getFloodPaint()
getFloodPaint in interface FloodRablepublic Rectangle2D getBounds2D()
Filter
getBounds2D in interface FiltergetBounds2D in class AbstractRablepublic Rectangle2D getFloodRegion()
getFloodRegion in interface FloodRablepublic void setFloodRegion(Rectangle2D floodRegion)
setFloodRegion in interface FloodRablefloodRegion - region to flood with floodPaintpublic RenderedImage createRendering(RenderContext rc)
createRendering in interface RenderableImagerc - The current render context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||