processing.candy
Class RadialGradientPaint
java.lang.Object
processing.candy.RadialGradientPaint
- All Implemented Interfaces:
- java.awt.Paint, java.awt.Transparency
public class RadialGradientPaint
- extends java.lang.Object
- implements java.awt.Paint
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 |
RadialGradientPaint
public RadialGradientPaint(float cx,
float cy,
float radius,
float[] offset,
int[] color,
int count,
float opacity)
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