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

2022-10-28 浏览 (601)

JS API Changes of the Graphics Subsystem

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

API Changes

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.graphics.colorSpaceManagercolorSpaceManagerfunction create(colorSpaceName: ColorSpace): ColorSpaceManager;
function create(primaries: ColorSpacePrimaries, gamma: number): ColorSpaceManager;
Added
ohos.graphics.colorSpaceManagerColorSpaceManagergetGamma(): number;Added
ohos.graphics.colorSpaceManagerColorSpaceManagergetWhitePoint(): Array<number>;Added
ohos.graphics.colorSpaceManagerColorSpaceManagergetColorSpaceName(): ColorSpace;Added
ohos.graphics.colorSpaceManagerColorSpacePrimarieswhitePointY: number;Added
ohos.graphics.colorSpaceManagerColorSpacePrimarieswhitePointX: number;Added
ohos.graphics.colorSpaceManagerColorSpacePrimariesblueY: number;Added
ohos.graphics.colorSpaceManagerColorSpacePrimariesblueX: number;Added
ohos.graphics.colorSpaceManagerColorSpacePrimariesgreenY: number;Added
ohos.graphics.colorSpaceManagerColorSpacePrimariesgreenX: number;Added
ohos.graphics.colorSpaceManagerColorSpacePrimariesredY: number;Added
ohos.graphics.colorSpaceManagerColorSpacePrimariesredX: number;Added
ohos.graphics.colorSpaceManagerColorSpaceCUSTOM = 5Added
ohos.graphics.colorSpaceManagerColorSpaceSRGB = 4Added
ohos.graphics.colorSpaceManagerColorSpaceDISPLAY_P3 = 3Added
ohos.graphics.colorSpaceManagerColorSpaceDCI_P3 = 2Added
ohos.graphics.colorSpaceManagerColorSpaceADOBE_RGB_1998 = 1Added
ohos.graphics.colorSpaceManagerColorSpaceUNKNOWN = 0Added

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

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

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 Power Management Subsystem

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/ddb5c51c92d243dc856a7a2b6d36487d