|
||||||||||
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.FilterChainRable8Bit
public class FilterChainRable8Bit
Implements a filter chain. A filter chain is defined by its
filter region (i.e., the bounding box of its input/output), its
filter resolution and its source. Its source cannot be null,
but its resolution can.
The filter chain decomposes as follows:
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 | |
---|---|
FilterChainRable8Bit(Filter source,
Rectangle2D filterRegion)
Default constructor. |
Method Summary | |
---|---|
RenderedImage |
createRendering(RenderContext context)
|
Rectangle2D |
getBounds2D()
Returns this filter's bounds |
Rectangle2D |
getFilterRegion()
Returns the filter output area, in user space |
int |
getFilterResolutionX()
Returns the resolution along the X axis. |
int |
getFilterResolutionY()
Returns the resolution along the Y axis. |
Filter |
getSource()
Returns the source of the chain. |
boolean |
paintRable(Graphics2D g2d)
Should perform the equivilent action as createRendering followed by drawing the RenderedImage to Graphics2D, or return false. |
void |
setFilterRegion(Rectangle2D filterRegion)
Sets the filter output area, in user space. |
void |
setFilterResolutionX(int filterResolutionX)
Sets the resolution along the X axis, i.e., the maximum size for intermediate images along that axis. |
void |
setFilterResolutionY(int filterResolutionY)
Sets the resolution along the Y axis, i.e., the maximum size for intermediate images along that axis. |
void |
setSource(Filter chainSource)
Sets the source to be src. |
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 FilterChainRable8Bit(Filter source, Rectangle2D filterRegion)
Method Detail |
---|
public int getFilterResolutionX()
getFilterResolutionX
in interface FilterChainRable
public void setFilterResolutionX(int filterResolutionX)
setFilterResolutionX
in interface FilterChainRable
public int getFilterResolutionY()
getFilterResolutionY
in interface FilterChainRable
public void setFilterResolutionY(int filterResolutionY)
setFilterResolutionY
in interface FilterChainRable
public void setFilterRegion(Rectangle2D filterRegion)
setFilterRegion
in interface FilterChainRable
public Rectangle2D getFilterRegion()
getFilterRegion
in interface FilterChainRable
public Filter getSource()
getSource
in interface FilterChainRable
public void setSource(Filter chainSource)
setSource
in interface FilterChainRable
chainSource
- image to the chain.public Rectangle2D getBounds2D()
getBounds2D
in interface Filter
getBounds2D
in class AbstractRable
public boolean paintRable(Graphics2D g2d)
paintRable
in interface PaintRable
g2d
- The Graphics2D to draw to.
public RenderedImage createRendering(RenderContext context)
createRendering
in interface RenderableImage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |