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.