Creates a radial gradient of many colors.
Requires graphicsbuilder-ext-jdk6 and Java6+.
Properties
Property |
Default |
Notes |
|---|---|---|
cx |
|
|
cy |
|
|
fx |
|
|
fy |
|
|
radius |
|
|
absolute |
|
flag for moving the center relative to the Shape or not |
cycle |
|
value must be any of ['nocycle','reflect','repeat] or any MultipleGradientPaint.CycleMethod |
stops |
|
must define at least two stops |
Stops
Property |
Default |
Notes |
|---|---|---|
offset |
|
a float value in the range [0..1] |
color |
|
a Color or a color string |
Example

Labels