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
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기