SVGRectElementBuilder.Rx

SVGRectElementBuilder.Rx method

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

public SVGRectElementBuilder Rx(double value, LengthType type = LengthType.Px)
ParameterTypeDescription
valueDoubleThe horizontal radius for the rectangle’s rounded corners.
typeLengthTypeThe unit of measurement for the radius (default is pixels).

Return Value

The current instance of SVGRectElementBuilder for method chaining.

See Also