편집

다음을 통해 공유


SKColorSpacePrimaries Constructors

Definition

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