---
title: "cx method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.builder/svgcircleelementbuilder/cx/"
product: "Aspose.SVG for Python via .NET API References"
---


## cx {#float-aspose.svg.builder.LengthType}

Sets the 'cx' attribute of the SVG 'circle' element, specifying the x-coordinate of the center of the circle.


### Returns 


The current instance of SVGCircleElementBuilder for method chaining.


```python
def cx(self, value, type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | float | The x-coordinate of the circle's center. |
| type | [`LengthType`](/svg/python-net/aspose.svg.builder/lengthtype) | The unit of measurement for the x-coordinate (default is pixels). |



### See Also
* module [`aspose.svg.builder`](../../)
* class [`SVGCircleElementBuilder`](/svg/python-net/aspose.svg.builder/svgcircleelementbuilder)
