SKWebpEncoderFrame Constructors
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
| 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.