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 fcb5ddeaf2211a2c6acc44532be04edf1477b03d..73c6e0a82c612022d6e58863f2ba13a329ab4e57 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) +