public class TriColorGradientPaint extends Object implements Paint
BITMASK, OPAQUE, TRANSLUCENT| Constructor and Description |
|---|
TriColorGradientPaint(Point2D pt1,
Color color1,
Point2D pt2,
Color color2,
Point2D pt3,
Color color3) |
| Modifier and Type | Method and Description |
|---|---|
PaintContext |
createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform xform,
RenderingHints hints) |
int |
getTransparency() |
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
createContext in interface Paintpublic int getTransparency()
getTransparency in interface TransparencyCopyright © 2016 Laboratoire COGIT, IGN. All rights reserved.