cx method
cx
Sets the ‘cx’ attribute of the SVG ‘radialGradient’ element, specifying the x-coordinate of the center of the gradient.
Returns
The current instance of SVGRadialGradientElementBuilder for method chaining.
def cx(self, value, type):
...
| Parameter | Type | Description |
|---|---|---|
| value | float | The x-coordinate of the gradient’s center. |
| type | LengthType | The unit of measurement for the x-coordinate (default is pixels). |
See Also
- module
aspose.svg.builder - class
SVGRadialGradientElementBuilder