Bearbeiten

Freigeben über


SKCodecOptions Struct

Definition

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

public struct SKCodecOptions
public struct SKCodecOptions : IEquatable<SkiaSharp.SKCodecOptions>
Inheritance
SKCodecOptions
Implements

Constructors

SKCodecOptions(Int32, Boolean)

Create a new instance of SKCodecOptions.

SKCodecOptions(Int32, Int32)

Create a new instance of SKCodecOptions.

SKCodecOptions(Int32)

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

SKCodecOptions(SKRectI)

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

SKCodecOptions(SKZeroInitialized, SKRectI)

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

SKCodecOptions(SKZeroInitialized)

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

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
Obsolete.

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.

Methods

Equals(Object)
Equals(SKCodecOptions)
GetHashCode()

Operators

Equality(SKCodecOptions, SKCodecOptions)
Inequality(SKCodecOptions, SKCodecOptions)

Applies to