com.itextpdf.text.pdf
Class PatternColor
java.lang.Object
com.itextpdf.text.BaseColor
com.itextpdf.text.pdf.ExtendedColor
com.itextpdf.text.pdf.PatternColor
public class PatternColor
- extends ExtendedColor
Represents a pattern. Can be used in high-level constructs (Paragraph, Cell, etc.).
Fields inherited from class com.itextpdf.text.BaseColor |
BLACK, BLUE, CYAN, DARK_GRAY, GRAY, GREEN, LIGHT_GRAY, MAGENTA, ORANGE, PINK, RED, WHITE, YELLOW |
PatternColor
public PatternColor(PdfPatternPainter painter)
- Creates a color representing a pattern.
- Parameters:
painter
- the actual pattern
getPainter
public PdfPatternPainter getPainter()
- Gets the pattern.
- Returns:
- the pattern
equals
public boolean equals(Object obj)
- Overrides:
equals
in class BaseColor
hashCode
public int hashCode()
- Overrides:
hashCode
in class BaseColor
Copyright © 2013. All Rights Reserved.