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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.