public class CompositeRable8Bit extends AbstractColorInterpolationRable implements CompositeRable, PaintRable
Modifier and Type | Field and Description |
---|---|
protected CompositeRule |
rule |
csLinear
props, 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, setColorSpaceLinear
createDefaultRendering, createScaledRendering, getBounds2D, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
protected CompositeRule rule
public CompositeRable8Bit(java.util.List srcs, CompositeRule rule, boolean csIsLinear)
public void setSources(java.util.List srcs)
setSources
in interface CompositeRable
srcs
- The list of images to be composited by the composite rule.public void setCompositeRule(CompositeRule cr)
setCompositeRule
in interface CompositeRable
cr
- Composite rule to use.public CompositeRule getCompositeRule()
getCompositeRule
in interface CompositeRable
public boolean paintRable(java.awt.Graphics2D g2d)
paintRable
in interface PaintRable
g2d
- The Graphics2D to draw to.public java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
createRendering
in interface java.awt.image.renderable.RenderableImage
Copyright © 2022 Apache Software Foundation. All Rights Reserved.