info.aduna.graphics.render
Class RadialPaint
java.lang.Object
info.aduna.graphics.render.RadialPaint
- All Implemented Interfaces:
- Paint, Transparency
public class RadialPaint
- extends Object
- implements Paint
Provides a Paint implementation similar in nature to GradientPaint, while
letting the colors change in a radial manner rather than a linear manner.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadialPaint
public RadialPaint(Point2D point,
Point2D radius1,
Color pointColor,
Point2D radius2,
Color backgroundColor)
createContext
public PaintContext createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform xform,
RenderingHints hints)
- Specified by:
createContext in interface Paint
getTransparency
public int getTransparency()
- Specified by:
getTransparency in interface Transparency
Copyright © 1997-2008 Aduna. All Rights Reserved.