public class CompositeRable8Bit extends AbstractColorInterpolationRable implements CompositeRable, PaintRable
| Modifier and Type | Field and Description |
|---|---|
protected CompositeRule |
rule |
csLinearprops, srcs, stampHINTS_OBSERVED| Constructor and Description |
|---|
CompositeRable8Bit(List srcs,
CompositeRule rule,
boolean csIsLinear) |
| Modifier and Type | Method and Description |
|---|---|
RenderedImage |
createRendering(RenderContext rc) |
CompositeRule |
getCompositeRule()
Get the composite rule in use for combining the sources.
|
boolean |
paintRable(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(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, getTimeStampcreateDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamicprotected CompositeRule rule
public CompositeRable8Bit(List srcs, CompositeRule rule, boolean csIsLinear)
public void setSources(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(Graphics2D g2d)
paintRable in interface PaintRableg2d - The Graphics2D to draw to.public RenderedImage createRendering(RenderContext rc)
createRendering in interface RenderableImageCopyright © 2000–2020 Apache Software Foundation. All rights reserved.