Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

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

false

flag for moving the center relative to the Shape or not

cycle

'nocycle'

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

opacity

 

must be in the range [0..1]

Example

  • No labels