mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
drawing部分API信息修改
Signed-off-by: wangzhebufangqi <wangzhe231@huawei.com>
This commit is contained in:
parent
094a278aa1
commit
6afa3739a3
10
api/@ohos.graphics.drawing.d.ts
vendored
10
api/@ohos.graphics.drawing.d.ts
vendored
@ -1084,7 +1084,7 @@ declare namespace drawing {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.Graphics.Drawing
|
||||
* @since 12
|
||||
* @since 13
|
||||
*/
|
||||
drawColor(color: number, blendMode?: BlendMode): void;
|
||||
|
||||
@ -2491,7 +2491,7 @@ declare namespace drawing {
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @static
|
||||
* @syscap SystemCapability.Graphics.Drawing
|
||||
* @since 12
|
||||
* @since 13
|
||||
*/
|
||||
static create(blurRadius: number, x: number, y: number, color: number): ShadowLayer;
|
||||
}
|
||||
@ -2525,7 +2525,7 @@ declare namespace drawing {
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @static
|
||||
* @syscap SystemCapability.Graphics.Drawing
|
||||
* @since 12
|
||||
* @since 13
|
||||
*/
|
||||
static createBlendModeColorFilter(color: number, mode: BlendMode): ColorFilter;
|
||||
|
||||
@ -2781,7 +2781,7 @@ declare namespace drawing {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types.
|
||||
* @syscap SystemCapability.Graphics.Drawing
|
||||
* @since 12
|
||||
* @since 13
|
||||
*/
|
||||
setColor(color: number): void;
|
||||
|
||||
@ -3051,7 +3051,7 @@ declare namespace drawing {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.Graphics.Drawing
|
||||
* @since 12
|
||||
* @since 13
|
||||
*/
|
||||
setColor(color: number): void;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user