Editar

Compartir a través de


SKRoundRect.Deflate Method

Definition

Overloads

Deflate(SKSize)

Deflate the rectangle by the specified amount.

Deflate(Single, Single)

Deflate the rectangle by the specified amount.

Deflate(SKSize)

Deflate the rectangle by the specified amount.

public void Deflate (SkiaSharp.SKSize size);

Parameters

size
SKSize

The amount to deflate the rectangle by.

Remarks

The corner radii are adjusted by the amount of the deflation if they are round.

Applies to

Deflate(Single, Single)

Deflate the rectangle by the specified amount.

public void Deflate (float dx, float dy);

Parameters

dx
Single

The amount to deflate the rectangle by along the x-axis.

dy
Single

The amount to deflate the rectangle by along the y-axis.

Remarks

The corner radii are adjusted by the amount of the deflation if they are round.

Applies to