org.apache.batik.ext.awt.image.renderable
public class PadRable8Bit extends AbstractRable implements PadRable, PaintRable
Constructor Summary | |
---|---|
PadRable8Bit(Filter src, Rectangle2D padRect, PadMode padMode) |
Method Summary | |
---|---|
RenderedImage | createRendering(RenderContext rc) |
Rectangle2D | getBounds2D() |
Shape | getDependencyRegion(int srcIndex, Rectangle2D outputRgn) |
Shape | getDirtyRegion(int srcIndex, Rectangle2D inputRgn) |
PadMode | getPadMode()
Get the current extension mode for pad |
Rectangle2D | getPadRect()
Get the current rectangle for padding |
Filter | getSource()
Returns the source to be affine. |
boolean | paintRable(Graphics2D g2d)
Should perform the equivilent action as
createRendering followed by drawing the RenderedImage to
Graphics2D, or return false.
|
void | setPadMode(PadMode padMode)
Set the current extension mode for pad |
void | setPadRect(Rectangle2D rect)
Set the current rectangle for padding. |
void | setSource(Filter src)
Sets the source to be affine. |
Returns: Mode currently in use for pad
Returns: Rectangle currently in use for pad.
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: padMode the new pad mode
Parameters: rect the new rectangle to use for pad.
Parameters: src image to affine.