Extensions.ToSKRect(Rectangle) Method

Definition

Converts a Xamarin.Forms rectangle into a SkiaSharp rectangle.

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

Parameters

rect
Rectangle

The Xamarin.Forms rectangle.

Returns

Returns a SkiaSharp rectangle.

Applies to