SKGraphicsExtensions Class
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.
Provides extension methods for working with SkiaSharp graphics objects.
public ref class SKGraphicsExtensions abstract sealed
public static class SKGraphicsExtensions
type SKGraphicsExtensions = class
Public Module SKGraphicsExtensions
- Inheritance
-
SKGraphicsExtensions
Methods
| AsColor(SKColor) |
Converts a SkiaSharp color to a .NET MAUI Graphics color. |
| AsMatrix(Matrix3x2) |
Converts a Matrix3x2 to a SkiaSharp SKMatrix. |
| AsPointF(SKPoint) |
Converts a SkiaSharp SKPoint to a .NET MAUI Graphics PointF. |
| AsRectangleF(SKRect) |
Converts a SkiaSharp SKRect to a RectF. |
| AsRotatedAndroidPath(PathF, PointF, Single, Single, Single) |
Converts a PathF to a SkiaSharp SKPath with a specified pixels-per-unit value, zoom level, and rotation angle. |
| AsSize(SKSize) |
Converts a SkiaSharp SKSize to a .NET MAUI Graphics SizeF. |
| AsSizeF(SizeF) |
Converts a .NET MAUI Graphics SizeF to a SkiaSharp SKSize. |
| AsSKColor(Color) |
Converts a .NET MAUI Graphics color to a SkiaSharp color. |
| AsSKColorMultiplyAlpha(Color, Single) |
Converts a .NET MAUI Graphics color to a SkiaSharp color with a multiplied alpha value. |
| AsSkiaPath(PathF, Single, Single, Single, Single, Single) |
Converts a PathF to a SkiaSharp SKPath with specified transformation parameters. |
| AsSkiaPath(PathF, Single, Single) |
Converts a PathF to a SkiaSharp SKPath with a specified pixels-per-unit value and zoom level. |
| AsSkiaPath(PathF, Single) |
Converts a PathF to a SkiaSharp SKPath with a specified pixels-per-unit value. |
| AsSkiaPath(PathF) |
Converts a PathF to a SkiaSharp SKPath. |
| AsSkiaPathFromSegment(PathF, Int32, Single, Single) |
Converts a segment of a PathF to a SkiaSharp SKPath with a specified pixels-per-unit value and zoom level. |
| AsSKRect(RectF) |
Converts a RectF to a SkiaSharp SKRect. |
| GetPatternBitmap(PatternPaint, Single, Single, Object) |
Retrieves the bitmap pattern from a PatternPaint object with specified scale factors. |
| GetPatternBitmap(PatternPaint, Single) |
Retrieves the bitmap pattern from a PatternPaint object. |
| ToArgb(Color, Single) |
Converts a .NET MAUI Graphics color to an ARGB integer representation with a modified alpha value. |
| ToArgb(Color) |
Converts a .NET MAUI Graphics color to an ARGB integer representation. |
| ToSKPoint(PointF) |
Converts a PointF to a SkiaSharp SKPoint. |