SKCodecOptions Constructors

Definition

Overloads

SKCodecOptions(SKRectI)

Create a new instance of SKCodecOptions with the specified subset rectangle.

SKCodecOptions(SKZeroInitialized)

Create a new instance of SKCodecOptions with the specified zero-initialization.

SKCodecOptions(Int32)

Create a new instance of SKCodecOptions with the specified frame index.

SKCodecOptions(SKZeroInitialized, SKRectI)

Create a new instance of SKCodecOptions with the specified subset rectangle and zero-initialization.

SKCodecOptions(Int32, Boolean)

Create a new instance of SKCodecOptions.

SKCodecOptions(Int32, Int32)

Create a new instance of SKCodecOptions.

SKCodecOptions(SKRectI)

Create a new instance of SKCodecOptions with the specified subset rectangle.

public SKCodecOptions (SkiaSharp.SKRectI subset);

Parameters

subset
SKRectI

The subset rectangle.

Applies to

SKCodecOptions(SKZeroInitialized)

Create a new instance of SKCodecOptions with the specified zero-initialization.

public SKCodecOptions (SkiaSharp.SKZeroInitialized zeroInitialized);

Parameters

zeroInitialized
SKZeroInitialized

The zero-initialization.

Applies to

SKCodecOptions(Int32)

Create a new instance of SKCodecOptions with the specified frame index.

public SKCodecOptions (int frameIndex);

Parameters

frameIndex
Int32

The frame to decode.

Remarks

Only meaningful for multi-frame images.

Applies to

SKCodecOptions(SKZeroInitialized, SKRectI)

Create a new instance of SKCodecOptions with the specified subset rectangle and zero-initialization.

public SKCodecOptions (SkiaSharp.SKZeroInitialized zeroInitialized, SkiaSharp.SKRectI subset);

Parameters

zeroInitialized
SKZeroInitialized

The zero-initialization.

subset
SKRectI

The subset rectangle.

Applies to

SKCodecOptions(Int32, Boolean)

Create a new instance of SKCodecOptions.

public SKCodecOptions (int frameIndex, bool hasPriorFrame);

Parameters

frameIndex
Int32

The frame to decode.

hasPriorFrame
Boolean

Whether the decode destination already contains the prior frame.

Remarks

Only meaningful for multi-frame images.

Applies to

SKCodecOptions(Int32, Int32)

Create a new instance of SKCodecOptions.

public SKCodecOptions (int frameIndex, int priorFrame);

Parameters

frameIndex
Int32

The frame to decode.

priorFrame
Int32

The previous frame to decode.

Remarks

Only meaningful for multi-frame images.

Applies to