SKPath.AddRoundedRect(SKRect, Single, Single, SKPathDirection) Method

Definition

Warning

This API is now obsolete.

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.

Applies to