Package com.itextpdf.text.pdf
Class PatternColor
java.lang.Object
com.itextpdf.text.BaseColor
com.itextpdf.text.pdf.ExtendedColor
com.itextpdf.text.pdf.PatternColor
- Direct Known Subclasses:
PdfContentByte.UncoloredPattern
Represents a pattern. Can be used in high-level constructs (Paragraph, Cell, etc.).
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) PdfPatternPainter
The actual pattern.private static final long
Fields inherited from class com.itextpdf.text.pdf.ExtendedColor
type, TYPE_CMYK, TYPE_DEVICEN, TYPE_GRAY, TYPE_LAB, TYPE_PATTERN, TYPE_RGB, TYPE_SEPARATION, TYPE_SHADING
-
Constructor Summary
ConstructorsConstructorDescriptionPatternColor
(PdfPatternPainter painter) Creates a color representing a pattern. -
Method Summary
Methods inherited from class com.itextpdf.text.pdf.ExtendedColor
getType, getType, normalize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
painter
PdfPatternPainter painterThe actual pattern.
-
-
Constructor Details
-
PatternColor
Creates a color representing a pattern.- Parameters:
painter
- the actual pattern
-
-
Method Details