Extensions Class

Definition

Various extension methods to convert between SkiaSharp types and System.Drawing types.

public static class Extensions
Inheritance
Extensions

Methods

ToDrawingPoint(SKPoint)

Converts a SkiaSharp point into a System.Drawing point.

ToDrawingPoint(SKPointI)

Converts a SkiaSharp point into a System.Drawing point.

ToDrawingRect(SKRect)

Converts a SkiaSharp rectangle into a System.Drawing rectangle.

ToDrawingRect(SKRectI)

Converts a SkiaSharp rectangle into a System.Drawing rectangle.

ToDrawingSize(SKSize)

Converts a SkiaSharp size into a System.Drawing size.

ToDrawingSize(SKSizeI)

Converts a SkiaSharp size into a System.Drawing size.

ToSKPoint(Point)

Converts a System.Drawing point into a SkiaSharp point.

ToSKPoint(PointF)

Converts a System.Drawing point into a SkiaSharp point.

ToSKRect(Rectangle)

Converts a System.Drawing rectangle into a SkiaSharp rectangle.

ToSKRect(RectangleF)

Converts a System.Drawing rectangle into a SkiaSharp rectangle.

ToSKSize(Size)

Converts a System.Drawing size into a SkiaSharp size.

ToSKSize(SizeF)

Converts a System.Drawing size into a SkiaSharp size.

Applies to