SKColorSpacePrimaries 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.
Describes a color gamut with primaries and a white point.
public struct SKColorSpacePrimaries
public struct SKColorSpacePrimaries : IEquatable<SkiaSharp.SKColorSpacePrimaries>
- Inheritance
-
SKColorSpacePrimaries
- Implements
Constructors
SKColorSpacePrimaries(Single, Single, Single, Single, Single, Single, Single, Single) |
Creates a new SKColorSpacePrimaries instance. |
SKColorSpacePrimaries(Single[]) |
Creates a new SKColorSpacePrimaries instance. |
Fields
Empty |
Properties
BX |
Gets or sets the blue X-coordinate. |
BY |
Gets or sets the blue Y-coordinate. |
GX |
Gets or sets the green X-coordinate. |
GY |
Gets or sets the green Y-coordinate. |
RX |
Gets or sets the red X-coordinate. |
RY |
Gets or sets the red Y-coordinate. |
Values |
Gets the values of the primaries and white as an array with the form [RX, RY, GX, GY, BX, BY, WX, WY]. |
WX |
Gets or sets the white X-coordinate. |
WY |
Gets or sets the white Y-coordinate. |
Methods
Equals(Object) | |
Equals(SKColorSpacePrimaries) | |
GetHashCode() | |
ToColorSpaceXyz() | |
ToColorSpaceXyz(SKColorSpaceXyz) | |
ToXyzD50() |
Obsolete.
Converts primaries and a white point to a XYZ D50 matrix, the preferred color gamut representation of SKColorSpace. |
ToXyzD50(SKMatrix44) |
Obsolete.
Converts primaries and a white point to a XYZ D50 matrix, the preferred color gamut representation of SKColorSpace. |
Operators
Equality(SKColorSpacePrimaries, SKColorSpacePrimaries) | |
Inequality(SKColorSpacePrimaries, SKColorSpacePrimaries) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈