Class PatternType1.TilingPatternPaint

java.lang.Object
com.sun.pdfview.PDFPaint
com.sun.pdfview.pattern.PatternType1.TilingPatternPaint
Enclosing class:
PatternType1

class PatternType1.TilingPatternPaint extends PDFPaint
This class overrides PDFPaint to paint in the pattern coordinate space
  • Field Details

    • pattern

      private PatternType1 pattern
      the pattern to paint
  • Constructor Details

    • TilingPatternPaint

      public TilingPatternPaint(Paint paint, PatternType1 pattern)
      Create a tiling pattern paint
  • Method Details

    • fill

      public Rectangle2D fill(PDFRenderer state, Graphics2D g, GeneralPath s)
      fill a path with the paint, and record the dirty area.
      Overrides:
      fill in class PDFPaint
      Parameters:
      state - the current graphics state
      g - the graphics into which to draw
      s - the path to fill
      drawn - a Rectangle2D into which the dirty area (area drawn) will be added.