Diamond colour gradient paint server.
GradientDiamond draws a square-shaped colour ramp from a centre point.
The GradientDiamond 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 | |||
| Radius | UNIT | The radius of the gradient. | |
The radius of the diamond 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. | |