SKCodecOptions Struct
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.
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) |
Create a new instance of SKCodecOptions with the specified frame index. |
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. |
SKCodecOptions(SKZeroInitialized) |
Create a new instance of SKCodecOptions with the specified zero-initialization. |
SKCodecOptions(SKZeroInitialized, SKRectI) |
Create a new instance of SKCodecOptions with the specified subset rectangle and 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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈