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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour