Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.arranger.jarl.trait.base
Class GradientColor.GradientPaintContext  view GradientColor.GradientPaintContext download GradientColor.GradientPaintContext.java

java.lang.Object
  extended bycom.arranger.jarl.trait.base.GradientColor.GradientPaintContext
All Implemented Interfaces:
java.awt.PaintContext
Enclosing class:
GradientColor

protected static class GradientColor.GradientPaintContext
extends java.lang.Object
implements java.awt.PaintContext


Field Summary
(package private)  double dx
           
(package private)  double dy
           
(package private)  int[] interp
           
(package private)  java.awt.image.ColorModel model
           
(package private)  java.awt.image.Raster saved
           
(package private)  double x1
           
(package private)  double y1
           
 
Constructor Summary
GradientColor.GradientPaintContext(java.awt.geom.Point2D p1, java.awt.geom.Point2D p2, java.awt.geom.AffineTransform xform, int[] map)
           
 
Method Summary
(package private)  void clipFillRaster(int[] pixels, int off, int adjust, int w, int h, double rowrel, double dx, double dy)
           
(package private)  void cycleFillRaster(int[] pixels, int off, int adjust, int w, int h, double rowrel, double dx, double dy)
           
 void dispose()
          Release the resources allocated for the operation.
 java.awt.image.ColorModel getColorModel()
          Return the ColorModel of the output.
 java.awt.image.Raster getRaster(int x, int y, int w, int h)
          Return a Raster containing the colors generated for the graphics operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x1

double x1

y1

double y1

dx

double dx

dy

double dy

interp

int[] interp

saved

java.awt.image.Raster saved

model

java.awt.image.ColorModel model
Constructor Detail

GradientColor.GradientPaintContext

public GradientColor.GradientPaintContext(java.awt.geom.Point2D p1,
                                          java.awt.geom.Point2D p2,
                                          java.awt.geom.AffineTransform xform,
                                          int[] map)
Method Detail

dispose

public void dispose()
Release the resources allocated for the operation.

Specified by:
dispose in interface java.awt.PaintContext

getColorModel

public java.awt.image.ColorModel getColorModel()
Return the ColorModel of the output.

Specified by:
getColorModel in interface java.awt.PaintContext

getRaster

public java.awt.image.Raster getRaster(int x,
                                       int y,
                                       int w,
                                       int h)
Return a Raster containing the colors generated for the graphics operation.

Specified by:
getRaster in interface java.awt.PaintContext

cycleFillRaster

void cycleFillRaster(int[] pixels,
                     int off,
                     int adjust,
                     int w,
                     int h,
                     double rowrel,
                     double dx,
                     double dy)

clipFillRaster

void clipFillRaster(int[] pixels,
                    int off,
                    int adjust,
                    int w,
                    int h,
                    double rowrel,
                    double dx,
                    double dy)