SVGRadialGradientElementBuilder.Cx
SVGRadialGradientElementBuilder.Cx method
Sets the ‘cx’ attribute of the SVG ‘radialGradient’ element, specifying the x-coordinate of the center of the gradient.
public SVGRadialGradientElementBuilder Cx(double value, LengthType type = LengthType.Px)
Parameter | Type | Description |
---|---|---|
value | Double | The x-coordinate of the gradient’s center. |
type | LengthType | The unit of measurement for the x-coordinate (default is pixels). |
Return Value
The current instance of SVGRadialGradientElementBuilder for method chaining.
See Also
- enum LengthType
- class SVGRadialGradientElementBuilder
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG