SKImageImageSource.Implicit Operator

Definition

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