SKPath.AddRoundedRect(SKRect, Single, Single, SKPathDirection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use AddRoundRect instead.
Adds a closed rectangle with rounded corners to the current path.
[System.Obsolete("Use AddRoundRect instead.")]
public void AddRoundedRect (SkiaSharp.SKRect rect, float rx, float ry, SkiaSharp.SKPathDirection dir = SkiaSharp.SKPathDirection.Clockwise);
Parameters
- rect
- SKRect
The bounds of a the rounded rectangle.
- rx
- Single
The x-radius of the rounded corners.
- ry
- Single
The y-radius of the rounded corners
- dir
- SKPathDirection
The direction to wind the rectangle's contour.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.