Interface PaintRable

All Known Implementing Classes:
AffineRable8Bit, CompositeRable8Bit, FilterChainRable8Bit, FilterResRable8Bit, GraphicsNodeRable8Bit, PadRable8Bit

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.
Version:
$Id: PaintRable.java 1733416 2016-03-03 07:07:13Z gadams $
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Should perform the equivilent action as createRendering followed by drawing the RenderedImage.
  • Method Details

    • paintRable

      boolean paintRable(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).