From 84fcec668bb547c8d70243c791a3e3170a0072c7 Mon Sep 17 00:00:00 2001 From: HelloCrease Date: Tue, 9 May 2023 09:28:11 +0800 Subject: [PATCH] update docs Signed-off-by: HelloCrease --- .../ui/arkts-drawing-customization-on-canvas.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/ui/arkts-drawing-customization-on-canvas.md b/zh-cn/application-dev/ui/arkts-drawing-customization-on-canvas.md index ab01b4499f..9ec29a3b33 100644 --- a/zh-cn/application-dev/ui/arkts-drawing-customization-on-canvas.md +++ b/zh-cn/application-dev/ui/arkts-drawing-customization-on-canvas.md @@ -89,7 +89,7 @@ Canvas提供画布组件,用于自定义绘制图形,开发者使用CanvasRe import lottie from '@ohos/lottie' ``` - 具体接口参考[Lottie](../reference/arkui-ts/ts-components-canvas-lottie.md),相关实例请参考[Lottie实例](https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/Lottie)。 + 具体接口参考[Lottie](../reference/arkui-ts/ts-components-canvas-lottie.md),具体实例请参考[Lottie动画](#相关实例)。 >**说明:** > @@ -344,4 +344,10 @@ OffscreenCanvasRenderingContext2D对象和CanvasRenderingContext2D对象提供 ![2023032422159](figures/2023032422159.jpg) - ​ \ No newline at end of file + ​ + + ## 相关实例 + + 使用画布绘制自定义图形,有以下相关实例可供参考: + + - [Lottie动画](https://gitee.com/openharmony/applications_app_samples/tree/master/code/Solutions/Game/Lottie) \ No newline at end of file -- GitLab