From 777d8db843f238cd29d2d23710f3b7969b7c98d6 Mon Sep 17 00:00:00 2001
From: king_he <6384784@qq.com>
Date: Tue, 28 Jun 2022 00:51:46 +0000
Subject: [PATCH] update
en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md.
Signed-off-by: king_he <6384784@qq.com>
---
.../arkui-ts/ts-drawing-components-shape.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md b/en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md
index 5c17b095dd..1e9c3d993a 100644
--- a/en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md
+++ b/en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md
@@ -1,17 +1,17 @@
# Shape
-> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
+> **NOTE**
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
-The **<Shape>** component is the parent component of the drawing components. The attributes described in this topic are universal attributes supported by all the drawing components.
+The **** component is the parent component of the drawing components. The attributes described in this topic are universal attributes supported by all the drawing components.
-1. The drawing components use **<Shape>** as the parent component to implement the effect similar to SVG.
+1. Drawing components use **** as their parent component to implement the effect similar to SVG.
-2. The **<Shape>** component is used independently to draw a specific shape.
+2. The **** component is used independently to draw a specific shape.
## Required Permissions
@@ -29,14 +29,14 @@ The **<Shape>** component can contain child components.
Shape(value:{target?: PixelMap})
- Parameters
- | Name | Type | Mandatory | Default Value | Description |
+ | Name | Type | Mandatory | Default Value | Description |
| -------- | -------- | -------- | -------- | -------- |
| target | PixelMap | No | null | Shape to draw. You can draw a shape in the specified **PixelMap** object. If no object is specified, the shape is drawn in the current drawing target. |
## Attributes
- | Name | Type | Default Value | Mandatory | Description |
+| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| viewPort | {
x: Length,
y: Length,
width: Length,
height: Length
} | - | Yes | View port of the shape. |
| fill | Color | Black | No | Fill color. |
@@ -51,7 +51,7 @@ Shape(value:{target?: PixelMap})
| antiAlias | boolean | true | No | Whether anti-aliasing is enabled. |
- LineJoinStyle enums
- | Name | Description |
+ | Name | Description |
| -------- | -------- |
| Bevel | Bevel is used to connect paths. |
| Miter | Miter is used to connect paths. |
--
GitLab