FileDocCategorySizeDatePackage
Paint.javaAPI DocAndroid 1.5 API2163Wed May 06 22:41:54 BST 2009java.awt

Paint

public interface Paint implements Transparency
The Paint interface provides possibility of generating color patterns in device space for fill, draw, or stroke operations in a Graphics2D.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public java.awt.PaintContextcreateContext(java.awt.image.ColorModel cm, java.awt.Rectangle deviceBounds, java.awt.geom.Rectangle2D userBounds, java.awt.geom.AffineTransform xform, java.awt.RenderingHints hints)
Creates the PaintContext which is used to generate color patterns for rendering operations of Graphics2D.

param
cm the ColorModel object, or null.
param
deviceBounds the Rectangle represents the bounding box of device space for the graphics rendering operations.
param
userBounds the Rectangle represents bounding box of user space for the graphics rendering operations.
param
xform the AffineTransform for translation from user space to device space.
param
hints the RenderingHints preferences.
return
the PaintContext for generating color patterns.