Extensions.ToDrawingRect 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 |
|---|---|
| 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.