public class ShearedTexturePaint extends TexturePaint implements PdfPaint
BITMASK, OPAQUE, TRANSLUCENT| Constructor and Description |
|---|
ShearedTexturePaint(BufferedImage txtr,
Rectangle2D anchor,
AffineTransform callerTransform) |
| Modifier and Type | Method and Description |
|---|---|
PaintContext |
createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform xform,
RenderingHints hints) |
int |
getRGB() |
boolean |
isPattern() |
boolean |
isTexture() |
void |
setPattern(int dummy) |
void |
setScaling(double cropX,
double cropH,
float scaling,
float textX,
float textY) |
getAnchorRect, getImage, getTransparencyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTransparencypublic ShearedTexturePaint(BufferedImage txtr, Rectangle2D anchor, AffineTransform callerTransform)
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
createContext in interface PaintcreateContext in class TexturePaintpublic 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.