public class FilterChainRable8Bit extends AbstractRable implements FilterChainRable, PaintRable
AffineRable
props, srcs, stampHINTS_OBSERVED| Constructor and Description |
|---|
FilterChainRable8Bit(Filter source,
Rectangle2D filterRegion)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
createDefaultRendering, createScaledRendering, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencyRegion, getDirtyRegion, getTimeStampcreateDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamicpublic FilterChainRable8Bit(Filter source, Rectangle2D filterRegion)
public int getFilterResolutionX()
getFilterResolutionX in interface FilterChainRablepublic void setFilterResolutionX(int filterResolutionX)
setFilterResolutionX in interface FilterChainRablepublic int getFilterResolutionY()
getFilterResolutionY in interface FilterChainRablepublic void setFilterResolutionY(int filterResolutionY)
setFilterResolutionY in interface FilterChainRablepublic void setFilterRegion(Rectangle2D filterRegion)
setFilterRegion in interface FilterChainRablepublic Rectangle2D getFilterRegion()
getFilterRegion in interface FilterChainRablepublic Filter getSource()
getSource in interface FilterChainRablepublic void setSource(Filter chainSource)
setSource in interface FilterChainRablechainSource - image to the chain.public Rectangle2D getBounds2D()
getBounds2D in interface FiltergetBounds2D in class AbstractRablepublic boolean paintRable(Graphics2D g2d)
paintRable in interface PaintRableg2d - The Graphics2D to draw to.public RenderedImage createRendering(RenderContext context)
createRendering in interface RenderableImageCopyright © 2000–2017 Apache Software Foundation. All rights reserved.