MacExtensions 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.
Various extension methods to convert between SkiaSharp types and AppKit types.
public static class MacExtensions
- Inheritance
-
MacExtensions
Methods
ToNSColor(SKColor) |
Converts a SkiaSharp color into an AppKit color. |
ToNSColor(SKColorF) | |
ToNSImage(SKBitmap) |
Converts a SkiaSharp bitmap into a AppKit image. |
ToNSImage(SKImage) |
Converts a SkiaSharp image into a AppKit image. |
ToNSImage(SKPicture, SKSizeI) |
Converts a SkiaSharp picture into a AppKit image. |
ToNSImage(SKPixmap) |
Converts a SkiaSharp pixmap into a AppKit image. |
ToSKBitmap(NSImage) |
Converts a AppKit image into a SkiaSharp bitmap. |
ToSKColor(NSColor) |
Converts a AppKit color into an SkiaSharp color. |
ToSKColorF(NSColor) | |
ToSKImage(NSImage) |
Converts a AppKit image into a SkiaSharp image. |
ToSKPixmap(NSImage, SKPixmap) |
Converts a SkiaSharp pixmap into a AppKit image. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for