編集

次の方法で共有


SKRectI.Inflate Method

Definition

Overloads

Inflate(Int32, Int32)

Enlarges this SKRectI structure by the specified amount.

Inflate(SKRectI, Int32, Int32)

Creates and returns an enlarged copy of the specified SKRectI structure. The copy is enlarged by the specified amount and the original rectangle remains unmodified.

Inflate(SKSizeI)

Enlarges this SKRectI structure by the specified amount.

Inflate(Int32, Int32)

Enlarges this SKRectI structure by the specified amount.

public void Inflate (int width, int height);

Parameters

width
Int32

The amount to inflate this SKRectI structure horizontally.

height
Int32

The amount to inflate this SKRectI structure vertically.

Applies to

Inflate(SKRectI, Int32, Int32)

Creates and returns an enlarged copy of the specified SKRectI structure. The copy is enlarged by the specified amount and the original rectangle remains unmodified.

public static SkiaSharp.SKRectI Inflate (SkiaSharp.SKRectI rect, int x, int y);

Parameters

rect
SKRectI

The SKRectI to be copied. This rectangle is not modified.

x
Int32

The amount to enlarge the copy of the rectangle horizontally.

y
Int32

The amount to enlarge the copy of the rectangle vertically.

Returns

The enlarged SKRectI.

Applies to

Inflate(SKSizeI)

Enlarges this SKRectI structure by the specified amount.

public void Inflate (SkiaSharp.SKSizeI size);

Parameters

size
SKSizeI

The amount to inflate this SKRectI.

Applies to