AndroidExtensions.ToRect Method

Definition

Overloads

ToRect(SKRectI)

Converts a SkiaSharp rectangle into a Xamarin.Android rectangle.

ToRect(SKRect)

Converts a SkiaSharp rectangle into a Xamarin.Android rectangle.

ToRect(SKRectI)

Converts a SkiaSharp rectangle into a Xamarin.Android rectangle.

public static Android.Graphics.Rect ToRect (this SkiaSharp.SKRectI rect);

Parameters

rect
SKRectI

The SkiaSharp rectangle.

Returns

Rect

Returns a Xamarin.Android rectangle.

Applies to

ToRect(SKRect)

Converts a SkiaSharp rectangle into a Xamarin.Android rectangle.

public static Android.Graphics.RectF ToRect (this SkiaSharp.SKRect rect);

Parameters

rect
SKRect

The SkiaSharp rectangle.

Returns

RectF

Returns a Xamarin.Android rectangle.

Applies to