rx method

rx

Sets the ‘rx’ attribute of the SVG ‘rect’ element, specifying the horizontal radius of the rectangle’s rounded corners.

Returns

The current instance of SVGRectElementBuilder for method chaining.

def rx(self, value, type):
    ...
ParameterTypeDescription
valuefloatThe horizontal radius for the rectangle’s rounded corners.
typeLengthTypeThe unit of measurement for the radius (default is pixels).

See Also