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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.