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.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
SkiaSharp