Upravit

Sdílet prostřednictvím


Extensions.ToFormsRect Method

Definition

Overloads

ToFormsRect(SKRect)

Converts a SkiaSharp rectangle into a Xamarin.Forms rectangle.

ToFormsRect(SKRectI)

Converts a SkiaSharp rectangle into a Xamarin.Forms rectangle.

ToFormsRect(SKRect)

Converts a SkiaSharp rectangle into a Xamarin.Forms rectangle.

public static Xamarin.Forms.Rectangle ToFormsRect(this SkiaSharp.SKRect rect);

Parameters

rect
SKRect

The SkiaSharp rectangle.

Returns

Returns Xamarin.Forms rectangle.

Applies to

ToFormsRect(SKRectI)

Converts a SkiaSharp rectangle into a Xamarin.Forms rectangle.

public static Xamarin.Forms.Rectangle ToFormsRect(this SkiaSharp.SKRectI rect);

Parameters

rect
SKRectI

The SkiaSharp rectangle.

Returns

Returns Xamarin.Forms rectangle.

Applies to