Uses of Interface java.awt.PaintContext (Java SE 13 & JDK 13 )
Description: use: module: java.desktop, package: java.awt, interface: PaintContext

# Uses of Interface
java.awt.PaintContext

Packages that use PaintContext
Package | Description
--- | ---
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.

- ## Uses of PaintContext in java.awt

  Methods in java.awt that return PaintContext
  Modifier and Type | Method | Description
  --- | --- | ---
  `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` | 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` | 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` | Paint.`createContext​(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)` | Creates and returns a `PaintContext` used to generate the color 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.
  `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.