Radial colour gradient paint server.
GradientRadial draws a colour ramp from a centre point to a radius. Optional focal coordinates and a focal radius support displaced radial gradients.
The GradientRadial class consists of the following fields:
Access | Name | Type | Comment |
|---|---|---|---|
| CX | UNIT | The horizontal centre point of the gradient. | |
The | |||
| CY | UNIT | The vertical centre point of the gradient. | |
The | |||
| ContainFocal | INT | Confines the focal point to the base radius. | |
When enabled, the focal point is constrained so that it remains within the base radial gradient circle. | |||
| FX | UNIT | The horizontal focal point for radial gradients. | |
The | |||
| FY | UNIT | The vertical focal point for radial gradients. | |
The | |||
| FocalRadius | UNIT | The size of the focal radius for radial gradients. | |
| Radius | UNIT | The radius of the gradient. | |
The radius of the gradient can be defined as a fixed unit or scaled relative to its container. A default radius of 50% applies if this field is not set. | |||
| XMLDef | STRING | Returns an SVG compliant XML string that describes the effect. | |