harmony(鸿蒙)JS API Changes of the Graphics Subsystem

2022-10-28 浏览 (671)

JS API Changes of the Graphics Subsystem

The table below lists the APIs changes of the graphics subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1.

API Changes

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.effectKiteffectKitcreateColorPicker(source: image.PixelMap): Promise<ColorPicker>;
function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void;
Added
ohos.effectKiteffectKitcreateEffect(source: image.PixelMap): Filter;Added
ohos.effectKitColoralpha: number;Added
ohos.effectKitColorblue: number;Added
ohos.effectKitColorgreen: number;Added
ohos.effectKitColorred: number;Added
ohos.effectKitColorPickergetMainColorSync(): Color;Added
ohos.effectKitColorPickergetMainColor(): Promise<Color>;Added
ohos.effectKitFiltergetPixelMap(): image.PixelMap;Added
ohos.effectKitFiltergrayscale(): Filter;Added
ohos.effectKitFilterbrightness(bright:number): Filter;Added
ohos.effectKitFilterblur(radius:number): Filter;Added

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)Adaptation Guide for the Application Sandbox

harmony(鸿蒙)Updates (OpenHarmony 3.2 Beta1 -> OpenHarmony 3.2 Beta2)

harmony(鸿蒙)JS API Changes of the Ability Framework

harmony(鸿蒙)JS API Changes of the Accessibility Subsystem

harmony(鸿蒙)JS API Changes of the Account Subsystem

harmony(鸿蒙)JS API Changes of the ArkUI Development Framework

harmony(鸿蒙)JS API Changes of the Bundle Management Framework

harmony(鸿蒙)JS API Changes of the Communication Subsystem

harmony(鸿蒙)JS API Changes of the Utils Subsystem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/0117ceeaa0da4ce9b24b9b4c262df253