Class PatternColor

All Implemented Interfaces:
Paint, Transparency, Serializable

public class PatternColor extends ExtendedColor
Represents a pattern. Can be used in high-level constructs (Paragraph, Cell, etc.).
See Also:
  • Field Details

  • Constructor Details

    • PatternColor

      public PatternColor(PdfPatternPainter painter)
      Creates a color representing a pattern.
      Parameters:
      painter - the actual pattern
  • Method Details

    • getPainter

      public PdfPatternPainter getPainter()
      Gets the pattern.
      Returns:
      the pattern
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Color
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Color