Description
The Ry
property of the AddRoundRectPathCommand
class represents the y-axis radius of the rounded corners of a rectangle in an SVG path command. This property is a float
value that specifies the vertical radius of the ellipse used to round the corners of the rectangle.
Usage
To use the Ry
property, you need to create an instance of the AddRoundRectPathCommand
class. You can then set or get the Ry
value to define or retrieve the y-axis radius of the rounded corners for the rectangle.
Example
// Create an instance of AddRoundRectPathCommand
var roundRectCommand = new AddRoundRectPathCommand();
// Set the y-axis radius for the rounded corners
roundRectCommand.Ry = 10.0f;
// Retrieve the y-axis radius
float ryValue = roundRectCommand.Ry;
// Use the Ry value in your application logic
// For example, to adjust the appearance of an SVG element