|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Pattern
Patterns come in two varieties:
Tiling patterns consist of a small graphical figure (called a pattern cell) that is replicated at fixed horizontal and vertical intervals to fill the area to be painted. The graphics objects to use for tiling are described by a content stream. (PDF 1.2)
Shading patterns define a gradient fill that produces a smooth transition between colors across the area. The color to use is specified as a function of position using any of a variety of methods. (PDF 1.3)
Note Tiling pattern and shading patterns are not currently supported
| Field Summary | |
|---|---|
static int |
PATTERN_TYPE_SHADING
The pattern type is a shading pattern |
static int |
PATTERN_TYPE_TILING
The pattern type is a tiling pattern |
static Name |
TYPE_VALUE
|
| Method Summary | |
|---|---|
java.awt.geom.Rectangle2D |
getBBox()
|
java.awt.geom.AffineTransform |
getMatrix()
|
java.awt.Paint |
getPaint()
|
int |
getPatternType()
|
Name |
getType()
|
void |
init()
|
void |
setMatrix(java.awt.geom.AffineTransform matrix)
|
void |
setParentGraphicState(GraphicsState graphicsState)
|
| Field Detail |
|---|
static final int PATTERN_TYPE_TILING
static final int PATTERN_TYPE_SHADING
static final Name TYPE_VALUE
| Method Detail |
|---|
Name getType()
int getPatternType()
java.awt.geom.AffineTransform getMatrix()
void setMatrix(java.awt.geom.AffineTransform matrix)
java.awt.geom.Rectangle2D getBBox()
void init()
java.awt.Paint getPaint()
void setParentGraphicState(GraphicsState graphicsState)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||