SKPixmapImageSource.Implicit Operator
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
Implicit(SKPixmap to SKPixmapImageSource) |
Allows implicit casting from a SKPixmap. |
Implicit(SKPixmapImageSource to SKPixmap) |
Allows implicit casting to a SKPixmap. |
Implicit(SKPixmap to SKPixmapImageSource)
Allows implicit casting from a SKPixmap.
public static implicit operator SkiaSharp.Views.Forms.SKPixmapImageSource (SkiaSharp.SKPixmap pixmap);
Parameters
- pixmap
- SKPixmap
The pixmap to use when creating the ImageSource.
Returns
Returns a new instance of SKPixmapImageSource with the Pixmap property set to the bitmap.
Applies to
Implicit(SKPixmapImageSource to SKPixmap)
Allows implicit casting to a SKPixmap.
public static implicit operator SkiaSharp.SKPixmap (SkiaSharp.Views.Forms.SKPixmapImageSource source);
Parameters
- source
- SKPixmapImageSource
The ImageSource to retrieve the pixmap from.
Returns
Returns the underlying SKPixmap of the ImageSource.