• 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 Beta2 over OpenHarmony 3.2 Beta1.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.effectKit | effectKit | createColorPicker(source: image.PixelMap): Promise\<ColorPicker>;<br>function createColorPicker(source: image.PixelMap, callback: AsyncCallback\<ColorPicker>): void; | Added|
10| ohos.effectKit | effectKit | createEffect(source: image.PixelMap): Filter; | Added|
11| ohos.effectKit | Color | alpha: number; | Added|
12| ohos.effectKit | Color | blue: number; | Added|
13| ohos.effectKit | Color | green: number; | Added|
14| ohos.effectKit | Color | red: number; | Added|
15| ohos.effectKit | ColorPicker | getMainColorSync(): Color; | Added|
16| ohos.effectKit | ColorPicker | getMainColor(): Promise\<Color>; | Added|
17| ohos.effectKit | Filter | getPixelMap(): image.PixelMap; | Added|
18| ohos.effectKit | Filter | grayscale(): Filter; | Added|
19| ohos.effectKit | Filter | brightness(bright:number): Filter; | Added|
20| ohos.effectKit | Filter | blur(radius:number): Filter; | Added|
21