未验证 提交 4fd763af 编写于 作者: O openharmony_ci 提交者: Gitee

!6598 补充densityDpi的配置范围

Merge pull request !6598 from 张必荣/prtwo
......@@ -641,7 +641,7 @@ setDensityDpi(densityDpi: number, callback: AsyncCallback<void>): void;
| 参数名 | 类型 | 必填 | 说明 |
| ---------- | ------------------------- | ---- | ------------------------------------------------------------ |
| densityDpi | number | 是 | 像素密度。 |
| densityDpi | number | 是 | 像素密度。支持的输入范围为80-640。 |
| callback | AsyncCallback<void> | 是 | 回调函数。当设置屏幕的像素密度成功,err为undefined,否则为错误对象。 |
**示例:**
......@@ -663,9 +663,9 @@ setDensityDpi(densityDpi: number): Promise<void>
**系统能力:** SystemCapability.WindowManager.WindowManager.Core
| 参数名 | 类型 | 必填 | 说明 |
| ---------- | ------ | ---- | ---------- |
| densityDpi | number | 是 | 像素密度。 |
| 参数名 | 类型 | 必填 | 说明 |
| ---------- | ------ | ---- | ---------------------------------- |
| densityDpi | number | 是 | 像素密度。支持的输入范围为80-640。 |
**返回值:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册