Bearbeiten

Freigeben über


SKRoundRect.SetRect Method

Definition

Overloads

SetRect(SKRect)

Set this rectangle to be a simple rectangle.

SetRect(SKRect, Single, Single)

Set this rectangle to be a simple rounded rectangle.

SetRect(SKRect)

Set this rectangle to be a simple rectangle.

public void SetRect (SkiaSharp.SKRect rect);

Parameters

rect
SKRect

The simple rectangle.

Applies to

SetRect(SKRect, Single, Single)

Set this rectangle to be a simple rounded rectangle.

public void SetRect (SkiaSharp.SKRect rect, float xRadius, float yRadius);

Parameters

rect
SKRect

The simple rectangle.

xRadius
Single

The radii of the corners along the x-axis.

yRadius
Single

The radii of the corners along the y-axis.

Applies to