public class PatternColor extends ExtendedColor
MAX_COLOR_VALUE, MAX_FLOAT_COLOR_VALUE, MAX_INT_COLOR_VALUE, type, TYPE_CMYK, TYPE_GRAY, TYPE_PATTERN, TYPE_RGB, TYPE_SEPARATION, TYPE_SHADING
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
PatternColor(PdfPatternPainter painter)
Creates a color representing a pattern.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
PdfPatternPainter |
getPainter()
Gets the pattern.
|
int |
hashCode() |
getType, getType
brighter, createContext, darker, decode, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, HSBtoRGB, RGBtoHSB, toString
public PatternColor(PdfPatternPainter painter)
painter
- the actual patternCopyright © 2020. All rights reserved.