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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.