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
SkiaSharp