• Docs
  • API
Show / Hide Table of Contents
  • NixUniversalSDK
    • BatteryStateEventArgs
    • ColorData
    • ColorDifferenceType
    • ColorDifferenceTypeExtensions
    • ColorType
    • ColorTypeExtensions
    • ColorUtils
    • CommandStatus
    • CommandStatusExtensions
    • DensityData
    • DensityStatus
    • DensityStatusExtensions
    • DeviceCompat
    • DeviceResult
    • DeviceScanner
    • DeviceScannerState
    • DeviceScannerStateExtensions
    • DeviceState
    • DeviceStateExtensions
    • DeviceStatus
    • DeviceStatusArgs
    • DeviceStatusExtensions
    • DeviceType
    • DeviceTypeExtensions
    • DeviceVersion
    • ExtPowerStateEventArgs
    • IColorData
    • IColorDataExtensions
    • IDensityData
    • IDeviceCompat
    • IDeviceCompatEvents
    • IDeviceCompatExtensions
    • IDeviceScanner
    • IDeviceScannerEvents
    • IMeasurementData
    • IMeasurementDataExtensions
    • ISpectralData
    • ISpectralDataExtensions
    • Illuminant
    • IlluminantExtensions
    • InterfaceType
    • InterfaceTypeExtensions
    • LicenseFeature
    • LicenseFeatureExtensions
    • LicenseManager
    • LicenseManagerState
    • MeasurementData
    • Observer
    • ObserverExtensions
    • ReferenceWhite
    • ReferenceWhiteExtensions
    • ScanMode
    • ScanModeExtensions
    • ScanResultEventArgs
    • ScannerCreatedEventArgs
    • SpectralData
  • NixUniversalSDK.Wrapper
    • Constants
    • Delegates
    • Delegates.BoolValue
    • Delegates.Empty
    • Delegates.IntValue
    • Delegates.StringValue
    • DeviceCompatModule
    • DeviceScannerModule
    • Exported

Interface IColorData

Interface describing colorimetry data

Namespace: NixUniversalSDK
Assembly: NixUniversalSDK.dll
Syntax
public interface IColorData

Properties

Mode

Scan mode for this value.

Declaration
ScanMode Mode { get; }
Property Value
Type Description
ScanMode

Reference

Reference white point for this color value.

Declaration
ReferenceWhite Reference { get; }
Property Value
Type Description
ReferenceWhite

RgbValue

sRGB value for this color.

Declaration
byte[] RgbValue { get; }
Property Value
Type Description
byte[]

Type

Type of color data stored in the Value field.

Declaration
ColorType Type { get; }
Property Value
Type Description
ColorType

Value

Color value (3 coordinates) in the format specified by Type.

Declaration
double[] Value { get; }
Property Value
Type Description
double[]

Methods

CompareTo(IColorData, ColorDifferenceType)

Calculate delta E between this color and another. The colors must share the same reference white point (Reference).

Declaration
double CompareTo(IColorData other, ColorDifferenceType type = ColorDifferenceType.CIE2000)
Parameters
Type Name Description
IColorData other

Another IColorData instance

ColorDifferenceType type

Delta E equation type (defaults to CIE2000)

Returns
Type Description
double

Color difference (delta E) value

ConvertTo(ColorType)

Convert this color value to another ColorType.

Declaration
IColorData ConvertTo(ColorType type)
Parameters
Type Name Description
ColorType type
Returns
Type Description
IColorData

Extension Methods

IColorDataExtensions.HexRgbValue(IColorData)
In this article
Back to top Generated by DocFX