SKColorSpacePrimaries Struct

Definition

Describes a color gamut with primaries and a white point.

public struct SKColorSpacePrimaries
Inheritance
SKColorSpacePrimaries

Constructors

SKColorSpacePrimaries(Single[])

Creates a new SKColorSpacePrimaries instance.

SKColorSpacePrimaries(Single, Single, Single, Single, Single, Single, Single, Single)

Creates a new SKColorSpacePrimaries instance.

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

ToXyzD50()

Converts primaries and a white point to a XYZ D50 matrix, the preferred color gamut representation of SKColorSpace.

ToXyzD50(SKMatrix44)

Converts primaries and a white point to a XYZ D50 matrix, the preferred color gamut representation of SKColorSpace.

Applies to