public class PdfColor extends Color implements PdfPaint
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isPattern |
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, YELLOWBITMASK, OPAQUE, TRANSLUCENT| Constructor and Description |
|---|
PdfColor(float r,
float g,
float b) |
PdfColor(int raw) |
PdfColor(int r,
int g,
int b) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPattern() |
boolean |
isTexture() |
void |
setPattern(int dummy) |
void |
setScaling(double cropX,
double cropH,
float scaling,
float textX,
float textY) |
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateContextgetTransparencypublic PdfColor(float r,
float g,
float b)
public PdfColor(int r,
int g,
int b)
public PdfColor(int raw)
public void setScaling(double cropX,
double cropH,
float scaling,
float textX,
float textY)
setScaling in interface PdfPaintpublic void setPattern(int dummy)
Copyright © 2017. All rights reserved.