Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Method and Description |
---|---|
PaintContext |
Paint.createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform xform,
RenderingHints hints)
Creates and returns a
PaintContext used to
generate the color pattern. |
PaintContext |
Color.createContext(ColorModel cm,
Rectangle r,
Rectangle2D r2d,
AffineTransform xform,
RenderingHints hints)
Creates and returns a
PaintContext used to
generate a solid color field pattern. |
PaintContext |
LinearGradientPaint.createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform transform,
RenderingHints hints)
Creates and returns a
PaintContext used to
generate a linear color gradient pattern. |
PaintContext |
TexturePaint.createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform xform,
RenderingHints hints)
Creates and returns a
PaintContext used to
generate a tiled image pattern. |
PaintContext |
GradientPaint.createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform xform,
RenderingHints hints)
Creates and returns a
PaintContext used to
generate a linear color gradient pattern. |
PaintContext |
RadialGradientPaint.createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform transform,
RenderingHints hints)
Creates and returns a
PaintContext used to
generate a circular radial color gradient pattern. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.