public class TilingPaint extends Object implements PdfPaint, Serializable
BITMASK, OPAQUE, TRANSLUCENT| Constructor and Description |
|---|
TilingPaint(PdfObject patternObj,
byte[] streamData,
PatternColorSpace colorSpace) |
| Modifier and Type | Method and Description |
|---|---|
PaintContext |
createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform xform,
RenderingHints hints) |
int |
getRGB() |
int |
getTransparency() |
boolean |
isPattern() |
boolean |
isTexture() |
void |
setScaling(double cropX,
double cropH,
float scaling,
float textX,
float textY) |
public TilingPaint(PdfObject patternObj, byte[] streamData, PatternColorSpace colorSpace)
public void setScaling(double cropX,
double cropH,
float scaling,
float textX,
float textY)
setScaling in interface PdfPaintpublic int getTransparency()
getTransparency in interface Transparencypublic PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
createContext in interface PaintCopyright © 2017. All rights reserved.