AppleExtensions 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 CoreGraphics types.
public static class AppleExtensions
- Inheritance
-
AppleExtensions
Methods
ToCGColor(SKColor) |
Converts a SkiaSharp color into a CoreGraphics color. |
ToCGColor(SKColorF) | |
ToCGImage(SKBitmap) |
Converts a SkiaSharp bitmap into a CoreGraphics image. |
ToCGImage(SKImage) |
Converts a SkiaSharp image into a CoreGraphics image. |
ToCGImage(SKPicture, SKSizeI) |
Converts a SkiaSharp picture into a CoreGraphics image. |
ToCGImage(SKPixmap) |
Converts a SkiaSharp pixmap into a CoreGraphics image. |
ToNSData(SKData) |
Converts a SkiaSharp data object into a NSData. |
ToPoint(SKPoint) |
Converts a SkiaSharp point into a CoreGraphics point. |
ToRect(SKRect) |
Converts a SkiaSharp rectangle into a CoreGraphics rectangle. |
ToSize(SKSize) |
Converts a SkiaSharp size into a CoreGraphics size. |
ToSKBitmap(CGImage) |
Converts a CoreGraphics image into a SkiaSharp bitmap. |
ToSKColor(CGColor) |
Converts a CoreGraphics color into a SkiaSharp color. |
ToSKColorF(CGColor) | |
ToSKData(NSData) |
Converts a NSData into a SkiaSharp data object. |
ToSKImage(CGImage) |
Converts a CoreGraphics image into a SkiaSharp image. |
ToSKPixmap(CGImage, SKPixmap) |
Converts a CoreGraphics image into a SkiaSharp pixmap. |
ToSKPoint(CGPoint) |
Converts a CoreGraphics point into a SkiaSharp point. |
ToSKRect(CGRect) |
Converts a CoreGraphics rectangle into a SkiaSharp rectangle. |
ToSKSize(CGSize) |
Converts a CoreGraphics size into a SkiaSharp size. |
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