Editar

Compartir a través de


SKRoundRect.SetNinePatch(SKRect, Single, Single, Single, Single) Method

Definition

Set this rounded rectangle to a nine-patch rectangle.

public void SetNinePatch (SkiaSharp.SKRect rect, float leftRadius, float topRadius, float rightRadius, float bottomRadius);

Parameters

rect
SKRect

The interior rectangle.

leftRadius
Single

The radii along the x-axis on the left side of the rectangle.

topRadius
Single

The radii along the y-axis on the top of the rectangle.

rightRadius
Single

The radii along the x-axis on the right side of the rectangle.

bottomRadius
Single

The radii along the y-axis on the bottom of the rectangle.

Applies to