public class CompositeRable8Bit extends AbstractColorInterpolationRable implements CompositeRable, PaintRable
| Modifier and Type | Field and Description |
|---|---|
protected CompositeRule |
rule |
csLinearprops, srcs, stamp| Constructor and Description |
|---|
CompositeRable8Bit(java.util.List srcs,
CompositeRule rule,
boolean csIsLinear) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.RenderedImage |
createRendering(java.awt.image.renderable.RenderContext rc) |
CompositeRule |
getCompositeRule()
Get the composite rule in use for combining the sources.
|
boolean |
paintRable(java.awt.Graphics2D g2d)
Should perform the equivilent action as
createRendering followed by drawing the RenderedImage to
Graphics2D, or return false.
|
void |
setCompositeRule(CompositeRule cr)
Set the composite rule to use for combining the sources.
|
void |
setSources(java.util.List srcs)
The sources to be composited togeather.
|
convertSourceCS, convertSourceCS, getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearcreateDefaultRendering, createScaledRendering, getBounds2D, 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, waitgetOperationColorSpace, isColorSpaceLinear, setColorSpaceLineargetBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampprotected CompositeRule rule
public CompositeRable8Bit(java.util.List srcs,
CompositeRule rule,
boolean csIsLinear)
public void setSources(java.util.List srcs)
setSources in interface CompositeRablesrcs - The list of images to be composited by the composite rule.public void setCompositeRule(CompositeRule cr)
setCompositeRule in interface CompositeRablecr - Composite rule to use.public CompositeRule getCompositeRule()
getCompositeRule in interface CompositeRablepublic boolean paintRable(java.awt.Graphics2D g2d)
paintRable in interface PaintRableg2d - The Graphics2D to draw to.public java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
createRendering in interface java.awt.image.renderable.RenderableImageCopyright ? 2009 Apache Software Foundation. All Rights Reserved.