Editar

Compartilhar via


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

Definition

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