com.lowagie.text.pdf

Class PatternColor


public class PatternColor
extends ExtendedColor

Represents a pattern. Can be used in high-level constructs (Paragraph, Cell, etc.).

Field Summary

(package private) PdfPatternPainter
painter
The actual pattern.

Fields inherited from class com.lowagie.text.pdf.ExtendedColor

TYPE_CMYK, TYPE_GRAY, TYPE_PATTERN, TYPE_RGB, TYPE_SEPARATION, TYPE_SHADING, type

Constructor Summary

PatternColor(PdfPatternPainter painter)
Creates a color representing a pattern.

Method Summary

PdfPatternPainter
getPainter()
Gets the pattern.

Methods inherited from class com.lowagie.text.pdf.ExtendedColor

getType, getType, normalize

Field Details

painter

(package private)  PdfPatternPainter painter
The actual pattern.

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