• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# JS API Changes of the Graphics Subsystem
2
3The table below lists the APIs changes of the graphics subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.graphics.colorSpaceManager | colorSpaceManager   | function create(colorSpaceName: ColorSpace): ColorSpaceManager;<br>function create(primaries: ColorSpacePrimaries, gamma: number): ColorSpaceManager; | Added|
10| ohos.graphics.colorSpaceManager | ColorSpaceManager   | getGamma(): number;                                                                                                                                   | Added|
11| ohos.graphics.colorSpaceManager | ColorSpaceManager   | getWhitePoint(): Array\<number>;                                                                                                                      | Added|
12| ohos.graphics.colorSpaceManager | ColorSpaceManager   | getColorSpaceName(): ColorSpace;                                                                                                                      | Added|
13| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | whitePointY: number;                                                                                                                                  | Added|
14| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | whitePointX: number;                                                                                                                                  | Added|
15| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | blueY: number;                                                                                                                                        | Added|
16| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | blueX: number;                                                                                                                                        | Added|
17| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | greenY: number;                                                                                                                                       | Added|
18| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | greenX: number;                                                                                                                                       | Added|
19| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | redY: number;                                                                                                                                         | Added|
20| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | redX: number;                                                                                                                                         | Added|
21| ohos.graphics.colorSpaceManager | ColorSpace          | CUSTOM = 5                                                                                                                                            | Added|
22| ohos.graphics.colorSpaceManager | ColorSpace          | SRGB = 4                                                                                                                                              | Added|
23| ohos.graphics.colorSpaceManager | ColorSpace          | DISPLAY_P3 = 3                                                                                                                                        | Added|
24| ohos.graphics.colorSpaceManager | ColorSpace          | DCI_P3 = 2                                                                                                                                            | Added|
25| ohos.graphics.colorSpaceManager | ColorSpace          | ADOBE_RGB_1998 = 1                                                                                                                                    | Added|
26| ohos.graphics.colorSpaceManager | ColorSpace          | UNKNOWN = 0                                                                                                                                           | Added|
27