未验证 提交 0e0f7239 编写于 作者: O openharmony_ci 提交者: Gitee

!7632 翻译完成 6996:TS画布组件(ts-canvasrenderingcontext2d.md)中RenderingContextSettings参数类型更正

Merge pull request !7632 from ester.zhou/TR-6996
...@@ -20,14 +20,14 @@ CanvasRenderingContext2D(setting: RenderingContextSetting) ...@@ -20,14 +20,14 @@ CanvasRenderingContext2D(setting: RenderingContextSetting)
### RenderingContextSettings ### RenderingContextSettings
RenderingContextSettings(antialias?: bool) RenderingContextSettings(antialias?: boolean)
Configures the settings of a **CanvasRenderingContext2D** object, including whether to enable antialiasing. Configures the settings of a **CanvasRenderingContext2D** object, including whether to enable antialiasing.
- Parameters - Parameters
| Name | Type | Mandatory | Default Value | Description | | Name | Type | Mandatory | Default Value | Description |
| --------- | ---- | --------- | ------------- | -------------------------------- | | --------- | ---- | --------- | ------------- | -------------------------------- |
| antialias | bool | No | false | Whether antialiasing is enabled. | | antialias | boolean | No | false | Whether antialiasing is enabled. |
## Attributes ## Attributes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册