From 7bce6cf61ec999d0dea18bd470d2e13f5c66c8a9 Mon Sep 17 00:00:00 2001 From: limeng Date: Thu, 4 May 2023 16:30:05 +0800 Subject: [PATCH] change example Signed-off-by: limeng --- .../reference/arkui-ts/ts-components-canvas-canvaspattern.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas-canvaspattern.md b/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas-canvaspattern.md index fcb5ddeaf2..73c6e0a82c 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas-canvaspattern.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas-canvaspattern.md @@ -22,7 +22,7 @@ setTransform(transform?: Matrix2D): void; | --------- | --------------------------------------------------------- | ---- | ------ | ---------- | | transform | [Matrix2D](ts-components-canvas-matrix2d.md#Matrix2D对象) | 否 | null | 转换矩阵。 | -### 示例 +**示例:** ```typescript // xxx.ets @@ -69,4 +69,5 @@ struct CanvasPatternPage { } ``` -![CanvasPattern](./figures/canvas_pattern.gif) \ No newline at end of file +![CanvasPattern](./figures/canvas_pattern.gif) + -- GitLab