cy method

cy

Sets the ‘cy’ attribute of the SVG ‘radialGradient’ element, specifying the y-coordinate of the center of the gradient.

Returns

The current instance of SVGRadialGradientElementBuilder for method chaining.

def cy(self, value, type):
    ...
ParameterTypeDescription
valuefloatThe y-coordinate of the gradient’s center.
typeLengthTypeThe unit of measurement for the y-coordinate (default is pixels).

See Also