| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Log | |
| private static final int | |
| private final Paint | |
| private final Matrix |
| Access | Constructor and Description |
|---|---|
| pack-priv | TilingPaint(PageDrawer
renderer to render the page drawer, PDTilingPattern tiling pattern dictionary pattern, AffineTransform device scale transform xform)Creates a new colored tiling Paint, i.e. one that has its own colors. |
| pack-priv | TilingPaint(PageDrawer
renderer to render the page drawer, PDTilingPattern tiling pattern dictionary pattern, PDColorSpace color space for this tiling colorSpace, PDColor color for this tiling color, AffineTransform device scale transform xform)Creates a new tiling Paint. |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public PaintContext | createContext(ColorModel
the preferred cm, Rectangle ColorModel which represents the most convenient
format for the caller to receive the pixel data, or null
if there is no preference.the device space bounding box
of the graphics primitive being rendered.
Implementations of the deviceBounds, Rectangle2D Paint interface
are allowed to throw NullPointerException
for a null deviceBounds.the user space bounding box
of the graphics primitive being rendered.
Implementations of the userBounds, AffineTransform Paint interface
are allowed to throw NullPointerException
for a null userBounds.the xform, RenderingHints AffineTransform from user
space into device space.
Implementations of the Paint interface
are allowed to throw NullPointerException
for a null xform.the set of hints that the context object can use to
choose between rendering alternatives.
Implementations of the hints)Paint interface
are allowed to throw NullPointerException
for a null hints.Implements java. Not called in TexturePaint subclasses, which is why we wrap TexturePaint. |
| private Rectangle2D | getAnchorRect(PDTilingPattern pattern)
Returns the anchor rectangle, which includes the XStep/YStep and scaling. |
| private BufferedImage | getImage(PageDrawer drawer, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, AffineTransform xform, Rectangle2D anchorRect)
Returns the pattern image in parent stream coordinates. |
| public int | getTransparency()
Implements java. Returns the type of this |
| DEFAULTMAXEDGE | back to summary |
|---|---|
| private static final String DEFAULTMAXEDGE | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| MAXEDGE | back to summary |
|---|---|
| private static final int MAXEDGE | |
| paint | back to summary |
|---|---|
| private final Paint paint | |
| patternMatrix | back to summary |
|---|---|
| private final Matrix patternMatrix | |
| TilingPaint | back to summary |
|---|---|
| pack-priv TilingPaint(PageDrawer drawer, PDTilingPattern pattern, AffineTransform xform) throws IOException Creates a new colored tiling Paint, i.e. one that has its own colors.
| |
| TilingPaint | back to summary |
|---|---|
| pack-priv TilingPaint(PageDrawer drawer, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, AffineTransform xform) throws IOException Creates a new tiling Paint. The parameters color and colorSpace must be null for a colored tiling Paint (because it has its own colors), and non null for an uncolored tiling Paint.
| |
| ceiling | back to summary |
|---|---|
| private static int ceiling(double num) Returns the closest integer which is larger than the given number. Uses BigDecimal to avoid floating point error which would cause gaps in the tiling. | |
| createContext | back to summary |
|---|---|
| public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) Implements java. Not called in TexturePaint subclasses, which is why we wrap TexturePaint.
| |
| getAnchorRect | back to summary |
|---|---|
| private Rectangle2D getAnchorRect(PDTilingPattern pattern) throws IOException Returns the anchor rectangle, which includes the XStep/YStep and scaling. | |
| getImage | back to summary |
|---|---|
| private BufferedImage getImage(PageDrawer drawer, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, AffineTransform xform, Rectangle2D anchorRect) throws IOException Returns the pattern image in parent stream coordinates. | |
| getTransparency | back to summary |
|---|---|
| public int getTransparency() Implements java. Doc from java. Returns the type of this
| |