Edit

SKWebpEncoderFrame Constructors

Definition

Overloads

Name Description
SKWebpEncoderFrame(SKBitmap, TimeSpan)

Initializes a new instance of the SKWebpEncoderFrame struct from a bitmap and a display duration.

SKWebpEncoderFrame(SKImage, TimeSpan)

Initializes a new instance of the SKWebpEncoderFrame struct from an image and a display duration.

SKWebpEncoderFrame(SKPixmap, TimeSpan)

Initializes a new instance of the SKWebpEncoderFrame struct from a pixmap and a display duration.

SKWebpEncoderFrame(SKBitmap, TimeSpan)

Initializes a new instance of the SKWebpEncoderFrame struct from a bitmap and a display duration.

public SKWebpEncoderFrame(SkiaSharp.SKBitmap bitmap, TimeSpan duration);

Parameters

bitmap
SKBitmap

The bitmap whose pixel data will be used for this frame.

duration
TimeSpan

The display duration of this frame.

Applies to

SKWebpEncoderFrame(SKImage, TimeSpan)

Initializes a new instance of the SKWebpEncoderFrame struct from an image and a display duration.

public SKWebpEncoderFrame(SkiaSharp.SKImage image, TimeSpan duration);

Parameters

image
SKImage

The image whose pixel data will be used for this frame.

duration
TimeSpan

The display duration of this frame.

Applies to

SKWebpEncoderFrame(SKPixmap, TimeSpan)

Initializes a new instance of the SKWebpEncoderFrame struct from a pixmap and a display duration.

public SKWebpEncoderFrame(SkiaSharp.SKPixmap pixmap, TimeSpan duration);

Parameters

pixmap
SKPixmap

The pixmap containing the pixel data for this frame.

duration
TimeSpan

The display duration of this frame.

Applies to