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)
ParameterTypeDescription
valueDoubleThe x-coordinate of the gradient’s center.
typeLengthTypeThe unit of measurement for the x-coordinate (default is pixels).

Return Value

The current instance of SVGRadialGradientElementBuilder for method chaining.

See Also