org.apache.batik.gvt
public class PatternPaint extends Object implements Paint
Constructor Summary | |
---|---|
PatternPaint(GraphicsNode node, Rectangle2D patternRegion, boolean overflow, AffineTransform patternTransform)
Constructs a new PatternPaint.
|
Method Summary | |
---|---|
PaintContext | createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Creates and returns a context used to generate the pattern. |
GraphicsNode | getGraphicsNode()
Returns the graphics node that define the pattern. |
boolean | getOverflow() |
Rectangle2D | getPatternRect()
Returns the pattern region. |
AffineTransform | getPatternTransform()
Returns the additional transform of the pattern paint. |
int | getTransparency()
Returns the transparency mode for this pattern paint. |
Parameters: node Used to generate the paint pixel pattern patternRegion Region to which this paint is constrained overflow controls whether or not the node can overflow the patternRegion. patternTransform additional transform added on top of the user space to device space transform.