未验证 提交 e3c07a52 编写于 作者: K king_he 提交者: Gitee

update en/application-dev/reference/arkui-ts/ts-components-canvas-canvas.md.

Signed-off-by: Nking_he <6384784@qq.com>
上级 05864439
# Canvas # Canvas
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > **NOTE**<br>
> This component is supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version. > This component is supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version.
...@@ -25,7 +25,7 @@ Canvas(context: CanvasRenderingContext2D) ...@@ -25,7 +25,7 @@ Canvas(context: CanvasRenderingContext2D)
- Parameters - Parameters
| Name | Type | Mandatory | Default Value | Description | | Name | Type | Mandatory | Default Value | Description |
| ------- | ---------------------------------------- | --------- | ------------- | ---------------------------------------- | | ------- | ---------------------------------------- | --------- | ------------- | ---------------------------------------- |
| context | [CanvasRenderingContext2D](ts-canvasrenderingcontext2d.md) | Yes | - | For details, see CanvasRenderingContext2D. | | context | [CanvasRenderingContext2D](ts-canvasrenderingcontext2d.md) | Yes | - | For details, see [CanvasRenderingContext2D](ts-canvasrenderingcontext2d.md). |
## Attributes ## Attributes
...@@ -39,7 +39,7 @@ In addition to universal events, the following events are supported. ...@@ -39,7 +39,7 @@ In addition to universal events, the following events are supported.
| Name | Parameter | Description | | Name | Parameter | Description |
| -------------------------------- | --------- | ---------------- | | -------------------------------- | --------- | ---------------- |
| onReady(callback: () =&gt; void) | None | Triggered when . | | onReady(callback: () =&gt; void) | None | Triggered when a canvas is ready. |
## Example ## Example
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册