java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.PadRed
All Implemented Interfaces:
RenderedImage, CachableRed

public class PadRed extends AbstractRed
This is an implementation of a Pad operation as a RenderedImage.
Version:
$Id: PadRed.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

  • Constructor Details

    • PadRed

      public PadRed(CachableRed src, Rectangle bounds, PadMode padMode, RenderingHints hints)
      Construct A Rendered Pad operation. If the pad is smaller than the original image size then this devolves to a Crop.
      Parameters:
      src - The image to pad/crop
      bounds - The bounds of the result (same coord system as src).
      padMode - The pad mode to use (currently ignored).
      hints - The hints to use for drawing 'pad' area.
  • Method Details