Home » openjdk-7 » java » awt » [javadoc | source]
java.awt
class: GradientPaintContext [javadoc | source]
java.lang.Object
   java.awt.GradientPaintContext

All Implemented Interfaces:
    PaintContext

Field Summary
static  ColorModel xrgbmodel     
static  ColorModel xbgrmodel     
static  ColorModel cachedModel     
static  WeakReference cached     
 double x1     
 double y1     
 double dx     
 double dy     
 boolean cyclic     
 int[] interp     
 Raster saved     
 ColorModel model     
Constructor:
 public GradientPaintContext(ColorModel cm,
    Point2D p1,
    Point2D p2,
    AffineTransform xform,
    Color c1,
    Color c2,
    boolean cyclic) 
Method from java.awt.GradientPaintContext Summary:
clipFillRaster,   cycleFillRaster,   dispose,   getCachedRaster,   getColorModel,   getRaster,   putCachedRaster
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.GradientPaintContext Detail:
  void clipFillRaster(int[] pixels,
    int off,
    int adjust,
    int w,
    int h,
    double rowrel,
    double dx,
    double dy) 
  void cycleFillRaster(int[] pixels,
    int off,
    int adjust,
    int w,
    int h,
    double rowrel,
    double dx,
    double dy) 
 public  void dispose() 
    Release the resources allocated for the operation.
 static synchronized Raster getCachedRaster(ColorModel cm,
    int w,
    int h) 
 public ColorModel getColorModel() 
    Return the ColorModel of the output.
 public Raster getRaster(int x,
    int y,
    int w,
    int h) 
    Return a Raster containing the colors generated for the graphics operation.
 static synchronized  void putCachedRaster(ColorModel cm,
    Raster ras)