mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
ColorManager: Supplemented with type tags
Change-Id: I136587a2e2c200aa21d2ec0e24feabe7c6f0586b Signed-off-by: ZhongJinghua <zhongjinghua@huawei.com>
This commit is contained in:
parent
2f5a99ddb0
commit
5b01a2a98a
36
api/@ohos.graphics.colorSpaceManager.d.ts
vendored
36
api/@ohos.graphics.colorSpaceManager.d.ts
vendored
@ -350,11 +350,13 @@ declare namespace colorSpaceManager {
|
||||
interface ColorSpacePrimaries {
|
||||
/**
|
||||
* Coordinate value x of red color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Coordinate value x of red color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -363,11 +365,13 @@ declare namespace colorSpaceManager {
|
||||
|
||||
/**
|
||||
* Coordinate value y of red color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Coordinate value y of red color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -376,11 +380,13 @@ declare namespace colorSpaceManager {
|
||||
|
||||
/**
|
||||
* Coordinate value x of green color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Coordinate value x of green color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -389,11 +395,13 @@ declare namespace colorSpaceManager {
|
||||
|
||||
/**
|
||||
* Coordinate value y of green color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Coordinate value y of green color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -402,11 +410,13 @@ declare namespace colorSpaceManager {
|
||||
|
||||
/**
|
||||
* Coordinate value x of blue color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Coordinate value x of blue color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -415,11 +425,13 @@ declare namespace colorSpaceManager {
|
||||
|
||||
/**
|
||||
* Coordinate value y of blue color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Coordinate value y of blue color
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -428,11 +440,13 @@ declare namespace colorSpaceManager {
|
||||
|
||||
/**
|
||||
* Coordinate value x of white point
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Coordinate value x of white point
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -441,11 +455,13 @@ declare namespace colorSpaceManager {
|
||||
|
||||
/**
|
||||
* Coordinate value y of white point
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Coordinate value y of white point
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -470,14 +486,14 @@ declare namespace colorSpaceManager {
|
||||
/**
|
||||
* Get the name of color space type.
|
||||
* @returns { ColorSpace } Returns the name of color space type.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Get the name of color space type.
|
||||
* @returns { ColorSpace } Returns the name of color space type.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -487,14 +503,14 @@ declare namespace colorSpaceManager {
|
||||
/**
|
||||
* Get white point(x, y) of color space.
|
||||
* @returns { Array<number> } Returns the white point value of color space.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Get white point(x, y) of color space.
|
||||
* @returns { Array<number> } Returns the white point value of color space.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -504,14 +520,14 @@ declare namespace colorSpaceManager {
|
||||
/**
|
||||
* Get gamma value of color space.
|
||||
* @returns { number } Returns the gamma value of color space.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Get gamma value of color space.
|
||||
* @returns { number } Returns the gamma value of color space.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -525,7 +541,7 @@ declare namespace colorSpaceManager {
|
||||
* @returns { ColorSpaceManager } Returns a color space manager object created by provided type.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible cause: 1.Incorrect parameter type.
|
||||
* 2.Parameter verification failed.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
@ -535,7 +551,7 @@ declare namespace colorSpaceManager {
|
||||
* @returns { ColorSpaceManager } Returns a color space manager object created by provided type.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible cause: 1.Incorrect parameter type.
|
||||
* 2.Parameter verification failed.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
@ -549,7 +565,7 @@ declare namespace colorSpaceManager {
|
||||
* @returns { ColorSpaceManager } Returns a color space manager object created by customized parameters.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible cause: 1.Incorrect parameter type.
|
||||
* 2.Parameter verification failed.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
@ -560,7 +576,7 @@ declare namespace colorSpaceManager {
|
||||
* @returns { ColorSpaceManager } Returns a color space manager object created by customized parameters.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible cause: 1.Incorrect parameter type.
|
||||
* 2.Parameter verification failed.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
|
@ -51,7 +51,7 @@ declare namespace sendableColorSpaceManager {
|
||||
/**
|
||||
* Get the name of color space type.
|
||||
* @returns { colorSpaceManager.ColorSpace } Returns the name of color space type.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -61,7 +61,7 @@ declare namespace sendableColorSpaceManager {
|
||||
/**
|
||||
* Get white point(x, y) of color space.
|
||||
* @returns { collections.Array<number> } Returns the white point value of color space.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -71,7 +71,7 @@ declare namespace sendableColorSpaceManager {
|
||||
/**
|
||||
* Get gamma value of color space.
|
||||
* @returns { number } Returns the gamma value of color space.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -85,7 +85,7 @@ declare namespace sendableColorSpaceManager {
|
||||
* @returns { ColorSpaceManager } Returns a color space manager object created by provided type.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible cause: 1.Incorrect parameter type.
|
||||
* 2.Parameter verification failed.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -99,7 +99,7 @@ declare namespace sendableColorSpaceManager {
|
||||
* @returns { ColorSpaceManager } Returns a color space manager object created by customized parameters.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible cause: 1.Incorrect parameter type.
|
||||
* 2.Parameter verification failed.
|
||||
* @throws { BusinessError } 18600001 - Parameter value is abnormal.
|
||||
* @throws { BusinessError } 18600001 - The parameter value is abnormal.
|
||||
* @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
|
Loading…
Reference in New Issue
Block a user