Modifier

Partager via


SKRoundRect.Inflate Method

Definition

Overloads

Inflate(Single, Single)

Inflate the rectangle by the specified amount.

Inflate(SKSize)

Inflate the rectangle by the specified amount.

Inflate(Single, Single)

Inflate the rectangle by the specified amount.

public void Inflate (float dx, float dy);

Parameters

dx
Single

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

dy
Single

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

Remarks

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

Applies to

Inflate(SKSize)

Inflate the rectangle by the specified amount.

public void Inflate (SkiaSharp.SKSize size);

Parameters

size
SKSize

The amount to inflate the rectangle by.

Remarks

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

Applies to