Description
The Rx
property of the AddRoundRectPathCommand
class represents the x-axis radius of the rounded corners of a rectangle in an SVG path. This property is a float
value that determines how much the corners of the rectangle are rounded along the x-axis.
Usage
To use the Rx
property, you need to create an instance of the AddRoundRectPathCommand
class. You can then get or set the Rx
property to define the x-axis radius of the rounded corners for the rectangle path.
Example
// Create an instance of AddRoundRectPathCommand
var roundRectCommand = new AddRoundRectPathCommand();
// Set the x-axis radius for the rounded corners
roundRectCommand.Rx = 10.0f;
// Access the x-axis radius
float xRadius = roundRectCommand.Rx;
// Use the xRadius in your application logic
// For example, you might use it to render a rounded rectangle in an SVG scene