SKImageImageSource.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(SKImage to SKImageImageSource) |
Allows implicit casting from a SKImage. |
Implicit(SKImageImageSource to SKImage) |
Allows implicit casting to a SKImage. |
Implicit(SKImage to SKImageImageSource)
Allows implicit casting from a SKImage.
public static implicit operator SkiaSharp.Views.Forms.SKImageImageSource (SkiaSharp.SKImage image);
Parameters
- image
- SKImage
The image to use when creating the ImageSource.
Returns
Returns a new instance of SKImageImageSource with the Image property set to the image.
Applies to
Implicit(SKImageImageSource to SKImage)
Allows implicit casting to a SKImage.
public static implicit operator SkiaSharp.SKImage (SkiaSharp.Views.Forms.SKImageImageSource source);
Parameters
- source
- SKImageImageSource
The ImageSource to retrieve the image from.
Returns
Returns the underlying SKImage of the ImageSource.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈