Extensions.ToDrawingRect Method

Definition

Overloads

ToDrawingRect(SKRect)

Converts a SkiaSharp rectangle into a System.Drawing rectangle.

ToDrawingRect(SKRectI)

Converts a SkiaSharp rectangle into a System.Drawing rectangle.

ToDrawingRect(SKRect)

Converts a SkiaSharp rectangle into a System.Drawing rectangle.

public static System.Drawing.RectangleF ToDrawingRect (this SkiaSharp.SKRect rect);

Parameters

rect
SKRect

The SkiaSharp rectangle.

Returns

Returns a System.Drawing rectangle.

Applies to

ToDrawingRect(SKRectI)

Converts a SkiaSharp rectangle into a System.Drawing rectangle.

public static System.Drawing.Rectangle ToDrawingRect (this SkiaSharp.SKRectI rect);

Parameters

rect
SKRectI

The SkiaSharp rectangle.

Returns

Returns a System.Drawing rectangle.

Applies to