|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objecteu.hansolo.gradients.BiLinearGradientPaint
public final class BiLinearGradientPaint extends Object
| Nested Class Summary | |
|---|---|
private class |
BiLinearGradientPaint.BiLinearGradientPaintContext
|
| Field Summary | |
|---|---|
private Rectangle |
BOUNDS
|
private Color |
COLOR_00
|
private Color |
COLOR_01
|
private Color |
COLOR_10
|
private Color |
COLOR_11
|
private float |
FRACTION_X_STEPSIZE
|
private float |
FRACTION_Y_STEPSIZE
|
private static float |
INT_TO_FLOAT_CONST
|
private int |
titleBarHeight
|
| Constructor Summary | |
BiLinearGradientPaint(Shape SHAPE, Color COLOR_00, Color COLOR_10, Color COLOR_01, Color COLOR_11)
Enhanced constructor which takes bounds of the objects SHAPE to fill and the four colors we need to create the bilinear interpolated gradient |
|
| Method Summary | |
|---|---|
PaintContext
|
createContext(ColorModel COLOR_MODEL, Rectangle DEVICE_BOUNDS, Rectangle2D USER_BOUNDS, AffineTransform TRANSFORM, RenderingHints HINTS)
|
int
|
getTransparency()
|
String
|
toString()
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private final Rectangle BOUNDS
private final Color COLOR_00
private final Color COLOR_01
private final Color COLOR_10
private final Color COLOR_11
private final float FRACTION_X_STEPSIZE
private final float FRACTION_Y_STEPSIZE
private static final float INT_TO_FLOAT_CONST
private int titleBarHeight
| Constructor Detail |
|---|
public BiLinearGradientPaint(Shape SHAPE, Color COLOR_00, Color COLOR_10, Color COLOR_01, Color COLOR_11)
| Method Detail |
|---|
@Override public PaintContext createContext(ColorModel COLOR_MODEL, Rectangle DEVICE_BOUNDS, Rectangle2D USER_BOUNDS, AffineTransform TRANSFORM, RenderingHints HINTS)
@Override public int getTransparency()
@Override public String toString()
Groovy Documentation