interface ColorManagement {
    convert: ((color: Color, sourceColorSpace: DefinedColorSpace, targetColorSpace: DefinedColorSpace) => Color);
    enabled: boolean;
    fromWorkingColorSpace: ((color: Color, targetColorSpace: DefinedColorSpace) => Color);
    getPrimaries: ((colorSpace: DefinedColorSpace) => ColorSpacePrimaries);
    getTransfer: ((colorSpace: ColorSpace) => ColorSpaceTransfer);
    toWorkingColorSpace: ((color: Color, sourceColorSpace: DefinedColorSpace) => Color);
    workingColorSpace: WorkingColorSpace;
}

Properties

convert: ((color: Color, sourceColorSpace: DefinedColorSpace, targetColorSpace: DefinedColorSpace) => Color)
enabled: boolean
false
fromWorkingColorSpace: ((color: Color, targetColorSpace: DefinedColorSpace) => Color)
getPrimaries: ((colorSpace: DefinedColorSpace) => ColorSpacePrimaries)
getTransfer: ((colorSpace: ColorSpace) => ColorSpaceTransfer)
toWorkingColorSpace: ((color: Color, sourceColorSpace: DefinedColorSpace) => Color)

Accessors

  • get workingColorSpace(): WorkingColorSpace
  • Returns WorkingColorSpace

    LinearSRGBColorSpace
    
  • set workingColorSpace(colorSpace): void
  • Parameters

    Returns void