編輯

共用方式為


SKColorSpacePrimaries Struct

Definition

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