org.apache.batik.ext.awt.image.renderable
public class AffineRable8Bit extends AbstractRable implements AffineRable, PaintRable
| Constructor Summary | |
|---|---|
| AffineRable8Bit(Filter src, AffineTransform affine) | |
| Method Summary | |
|---|---|
| RenderedImage | createRendering(RenderContext rc) |
| AffineTransform | getAffine()
Get the Affine. |
| Rectangle2D | getBounds2D() |
| Shape | getDependencyRegion(int srcIndex, Rectangle2D outputRgn) |
| Shape | getDirtyRegion(int srcIndex, Rectangle2D inputRgn) |
| Filter | getSource()
Returns the source to be affine. |
| boolean | paintRable(Graphics2D g2d)
Should perform the equivilent action as
createRendering followed by drawing the RenderedImage.
|
| void | setAffine(AffineTransform affine)
Set the affine transform. |
| void | setSource(Filter src)
Sets the source to be affine. |
Returns: the Affine transform currently in effect.
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: affine the new Affine transform to apply.
Parameters: src image to affine.