Creates and returns a context used to generate the color pattern.
Returns:
the {@link PaintContext} used for generating color
patterns.
Parameters:
-
cm - the {@link ColorModel} that receives the
Paint
data. This is used only as a hint.
-
deviceBounds - the device space bounding box of the graphics
primitive being rendered
-
userBounds - the user space bounding box of the graphics
primitive being rendered
-
xform - the {@link AffineTransform} from user space
into device space
-
hints - a {@link RenderingHints} object that can be used to
specify how the pattern is ultimately rendered
See Also:
PaintContext
,