編集

次の方法で共有


SKRectI.AspectFill(SKSizeI) Method

Definition

Calculates the smallest rectangle that will fill the current rectangle using the specified size.

public SkiaSharp.SKRectI AspectFill (SkiaSharp.SKSizeI size);
public readonly SkiaSharp.SKRectI AspectFill (SkiaSharp.SKSizeI size);

Parameters

size
SKSizeI

The size of the existing rectangle.

Returns

Returns the smallest rectangle that will fill the current rectangle.

Applies to