SKCodecOptions Struct

Definition

Additional options to pass to GetPixels(SKImageInfo, IntPtr, SKCodecOptions) or one of the overloads that accepts a SKCodecOptions.

public struct SKCodecOptions
Inheritance
SKCodecOptions

Constructors

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.

Fields

Default

Gets the default options.

Properties

FrameIndex

Gets or sets the frame to decode.

HasPriorFrame

Gets or sets a value indicating whether the decode destination already contains the prior frame.

HasSubset

Gets a value indicating whether the options has a subset rectangle.

PremulBehavior

Gets or sets a value indicating whether the decode should do a linear premultiply or a legacy premultiply.

PriorFrame

Gets or sets a value indicating which frame, if any, the destination bitmap already contains.

Subset

Gets or sets the subset rectangle.

ZeroInitialized

Gets or sets the zero-initialization.

Applies to