Creates a radial gradient of many colors. It accepts transformations too.
Requires graphicsbuilder-ext-jdk6 and Java6+.
Properties
Property |
Default |
Notes |
|---|---|---|
cx |
|
|
cy |
|
|
fx |
|
will take the value of cx if not defined |
fy |
|
will take the value of cy if not defined |
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 |
linkTo |
|
a reference to a radialGradient or a linearGradient |
If linkTo is used, then this gradient will reuse the referenced one's stops, new stops may be added to this gradient though.
Stops
Property |
Default |
Notes |
|---|---|---|
offset |
|
a float value in the range [0..1] |
color |
|
a Color or a color string |
Example
