org.apache.batik.ext.awt.image.renderable
public class CompositeRable8Bit extends AbstractColorInterpolationRable implements CompositeRable, PaintRable
Field Summary | |
---|---|
protected CompositeRule | rule |
Constructor Summary | |
---|---|
CompositeRable8Bit(List srcs, CompositeRule rule, boolean csIsLinear) |
Method Summary | |
---|---|
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. |
Returns: Composite rule currently in use.
Parameters: g2d The Graphics2D to draw to.
Returns: true if the paint call succeeded, false if for some reason the paint failed (in which case a createRendering should be used).
Parameters: cr Composite rule to use.
Parameters: srcs The list of images to be composited by the composite rule.