Extensions.ToSKRect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ToSKRect(Rectangle) |
Converts a System.Drawing rectangle into a SkiaSharp rectangle. |
| ToSKRect(RectangleF) |
Converts a System.Drawing rectangle into a SkiaSharp rectangle. |
ToSKRect(RectangleF)
Converts a System.Drawing rectangle into a SkiaSharp rectangle.
public static SkiaSharp.SKRect ToSKRect(this System.Drawing.RectangleF rect);
Parameters
- rect
- RectangleF
The System.Drawing rectangle.
Returns
Returns a SkiaSharp rectangle.