Editar

Compartir a través de


SKRoundRect Constructors

Definition

Overloads

SKRoundRect()

Creates a new instance of SKRoundRect with all values initialized to 0.

SKRoundRect(SKRect)

Creates a new instance of SKRoundRect with all radii set to 0.

SKRoundRect(SKRoundRect)

Creates a copy of a SKRoundRect.

SKRoundRect(SKRect, Single)

Creates a new instance of SKRoundRect with the same radii for all four corners.

SKRoundRect(SKRect, Single, Single)

Creates a new instance of SKRoundRect with the same radii for all four corners.

SKRoundRect()

Creates a new instance of SKRoundRect with all values initialized to 0.

public SKRoundRect ();

Applies to

SKRoundRect(SKRect)

Creates a new instance of SKRoundRect with all radii set to 0.

public SKRoundRect (SkiaSharp.SKRect rect);

Parameters

rect
SKRect

The bounds of the new rectangle.

Applies to

SKRoundRect(SKRoundRect)

Creates a copy of a SKRoundRect.

public SKRoundRect (SkiaSharp.SKRoundRect rrect);

Parameters

rrect
SKRoundRect

The rounded rectangle to copy.

Applies to

SKRoundRect(SKRect, Single)

Creates a new instance of SKRoundRect with the same radii for all four corners.

public SKRoundRect (SkiaSharp.SKRect rect, float radius);

Parameters

rect
SKRect

The bounds of the new rectangle.

radius
Single

The radii of the corners.

Applies to

SKRoundRect(SKRect, Single, Single)

Creates a new instance of SKRoundRect with the same radii for all four corners.

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

Parameters

rect
SKRect

The bounds of the new 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