org.apache.batik.ext.awt.image.renderable
Interface PaintRable
- All Known Implementing Classes:
- CompositeRable8Bit, FilterResRable8Bit, AffineRable8Bit, PadRable8Bit, FilterChainRable8Bit, GraphicsNodeRable8Bit
- public interface PaintRable
Interface for Rable's that can more efficently represent there
action as a paint method instead of a RenderedImage when going to a
Graphics2D anyways.
Method Summary |
boolean |
paintRable(java.awt.Graphics2D g2d)
Should perform the equivilent action as
createRendering followed by drawing the RenderedImage. |
paintRable
public boolean paintRable(java.awt.Graphics2D g2d)
- Should perform the equivilent action as
createRendering followed by drawing the RenderedImage.
- 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).
Copyright © 2002 Apache Software Foundation. All Rights Reserved.