r method

r

Sets the ‘r’ attribute of the SVG ‘radialGradient’ element, specifying the radius of the gradient.

Returns

The current instance of SVGRadialGradientElementBuilder for method chaining.

def r(self, value, type):
    ...
ParameterTypeDescription
valuefloatThe radius of the gradient.
typeLengthTypeThe unit of measurement for the radius (default is pixels).

See Also