| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| Modifier and Type | Method and Description |
|---|---|
MultipleGradientPaint |
MultipleGradientPaint.getCycleMethod()
Returns the enumerated type which specifies cycling behavior.
|
static MultipleGradientPaint |
MultipleGradientPaint.CycleMethod.valueOf(String
Returns the enum constant of this type with the specified name.
|
static MultipleGradientPaint |
MultipleGradientPaint.CycleMethod.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
| Constructor and Description | |
|---|---|
LinearGradientPaint(float startX, float startY, float endX, float endY, float[] fractions, Color
Constructs a
LinearGradientPaint with a default
SRGB color space.
|
|
LinearGradientPaint(Point2D
Constructs a
LinearGradientPaint with a default
SRGB color space.
|
|
LinearGradientPaint(Point2D
Constructs a
LinearGradientPaint.
|
|
RadialGradientPaint(float cx, float cy, float radius, float[] fractions, Color
Constructs a
RadialGradientPaint with a default
SRGB color space, using the center as the focus point.
|
|
RadialGradientPaint(float cx, float cy, float radius, float fx, float fy, float[] fractions, Color
Constructs a
RadialGradientPaint with a default
SRGB color space.
|
|
RadialGradientPaint(Point2D
Constructs a
RadialGradientPaint with a default
SRGB color space, using the center as the focus point.
|
|
RadialGradientPaint(Point2D
Constructs a
RadialGradientPaint with a default
SRGB color space.
|
|
RadialGradientPaint(Point2D
Constructs a
RadialGradientPaint.
|
|
RadialGradientPaint(Rectangle2D
Constructs a
RadialGradientPaint with a default
SRGB color space.
|