編輯

共用方式為


SKPixmapImageSource.Implicit Operator

Definition

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