SKColorSpacePrimaries Constructors
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.
Overloads
SKColorSpacePrimaries(Single[]) |
Creates a new SKColorSpacePrimaries instance. |
SKColorSpacePrimaries(Single, Single, Single, Single, Single, Single, Single, Single) |
Creates a new SKColorSpacePrimaries instance. |
SKColorSpacePrimaries(Single[])
Creates a new SKColorSpacePrimaries instance.
public SKColorSpacePrimaries (float[] values);
Parameters
- values
- Single[]
The values of the primaries and white point.
Remarks
There must be exactly 8 values in the array with the form [RX, RY, GX, GY, BX, BY, WX, WY].
Applies to
SKColorSpacePrimaries(Single, Single, Single, Single, Single, Single, Single, Single)
Creates a new SKColorSpacePrimaries instance.
public SKColorSpacePrimaries (float rx, float ry, float gx, float gy, float bx, float by, float wx, float wy);
Parameters
- rx
- Single
The red X-coordinate.
- ry
- Single
The red Y-coordinate.
- gx
- Single
The green X-coordinate.
- gy
- Single
The green Y-coordinate.
- bx
- Single
The blue X-coordinate.
- by
- Single
The blue Y-coordinate.
- wx
- Single
The white X-coordinate.
- wy
- Single
The white Y-coordinate.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈