processing.candy
Class RadialGradientPaint

java.lang.Object
  extended by processing.candy.RadialGradientPaint
All Implemented Interfaces:
java.awt.Paint, java.awt.Transparency

public class RadialGradientPaint
extends java.lang.Object
implements java.awt.Paint


Nested Class Summary
 class RadialGradientPaint.RadialGradientContext
           
 
Field Summary
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
RadialGradientPaint(float cx, float cy, float radius, float[] offset, int[] color, int count, float opacity)
           
 
Method Summary
 java.awt.PaintContext createContext(java.awt.image.ColorModel cm, java.awt.Rectangle deviceBounds, java.awt.geom.Rectangle2D userBounds, java.awt.geom.AffineTransform xform, java.awt.RenderingHints hints)
           
 int getTransparency()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadialGradientPaint

public RadialGradientPaint(float cx,
                           float cy,
                           float radius,
                           float[] offset,
                           int[] color,
                           int count,
                           float opacity)
Method Detail

createContext

public java.awt.PaintContext createContext(java.awt.image.ColorModel cm,
                                           java.awt.Rectangle deviceBounds,
                                           java.awt.geom.Rectangle2D userBounds,
                                           java.awt.geom.AffineTransform xform,
                                           java.awt.RenderingHints hints)
Specified by:
createContext in interface java.awt.Paint

getTransparency

public int getTransparency()
Specified by:
getTransparency in interface java.awt.Transparency