Class TilingPaint

java.lang.Object
org.apache.pdfbox.rendering.TilingPaint
All Implemented Interfaces:
Paint, Transparency

class TilingPaint extends Object implements Paint
AWT Paint for a tiling pattern, which consists of a small repeating graphical figure.
  • Field Details

    • LOG

      private static final org.apache.commons.logging.Log LOG
    • paint

      private final Paint paint
    • patternMatrix

      private final Matrix patternMatrix
    • MAXEDGE

      private static final int MAXEDGE
    • DEFAULTMAXEDGE

      private static final String DEFAULTMAXEDGE
      See Also:
  • Constructor Details

    • TilingPaint

      TilingPaint(PageDrawer drawer, PDTilingPattern pattern, AffineTransform xform) throws IOException
      Creates a new colored tiling Paint, i.e. one that has its own colors.
      Parameters:
      drawer - renderer to render the page
      pattern - tiling pattern dictionary
      xform - device scale transform
      Throws:
      IOException - if something goes wrong while drawing the pattern
    • TilingPaint

      TilingPaint(PageDrawer drawer, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, AffineTransform xform) throws IOException
      Creates a new tiling Paint. The parameters color and colorSpace must be null for a colored tiling Paint (because it has its own colors), and non null for an uncolored tiling Paint.
      Parameters:
      drawer - renderer to render the page
      pattern - tiling pattern dictionary
      colorSpace - color space for this tiling
      color - color for this tiling
      xform - device scale transform
      Throws:
      IOException - if something goes wrong while drawing the pattern
  • Method Details