diff --git a/en/application-dev/reference/arkui-ts/ts-drawing-components-line.md b/en/application-dev/reference/arkui-ts/ts-drawing-components-line.md index e7b42fba304663d9fb13671166d21d900adbe5f5..88e77173c6f123c627a6701e8a1914b7d49f5233 100644 --- a/en/application-dev/reference/arkui-ts/ts-drawing-components-line.md +++ b/en/application-dev/reference/arkui-ts/ts-drawing-components-line.md @@ -5,7 +5,7 @@ > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. -The **<Line>** component is used to draw a straight line. +The **** component is used to draw a straight line. ## Required Permissions @@ -25,13 +25,13 @@ Line(options?: {width: Length, height: Length}) - Parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | - | options | Object | No | - | For details, see the **options** parameters. | + | options | Object | No | - | Options of the line to draw. For details, see the **options** parameters. | - options parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | - | width | Length | Yes | - | Width. | - | height | Length | Yes | - | Height. | + | width | Length | Yes | - | Line width. | + | height | Length | Yes | - | Line height. | ## Attributes diff --git a/en/application-dev/reference/arkui-ts/ts-drawing-components-path.md b/en/application-dev/reference/arkui-ts/ts-drawing-components-path.md index 92d5715ef7aa1f5570904f0d596ecbee2e7f3681..f8f81960d5ae76632b4ff873a88d025a65e155ea 100644 --- a/en/application-dev/reference/arkui-ts/ts-drawing-components-path.md +++ b/en/application-dev/reference/arkui-ts/ts-drawing-components-path.md @@ -5,7 +5,7 @@ > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. -The **<Path>** component is used to draw a path. +The **** component is used to draw a path. ## Required Permissions @@ -24,7 +24,7 @@ None | -------- | -------- | -------- | -------- | -------- | | width | Length | 0 | No | Width of the rectangle where the path is located. | | height | Length | 0 | No | Height of the rectangle where the path is located. | -| commands | string | '' | Yes | Command string for drawing the path. | +| commands | string | '' | Yes | Commands for drawing the path. | The supported commands are as follows: diff --git a/en/application-dev/reference/arkui-ts/ts-drawing-components-polygon.md b/en/application-dev/reference/arkui-ts/ts-drawing-components-polygon.md index 13481d0f235a292adc6f0902a2ce2697fe533879..8d0cbed6ce56082885d6d41370291a02ff15db11 100644 --- a/en/application-dev/reference/arkui-ts/ts-drawing-components-polygon.md +++ b/en/application-dev/reference/arkui-ts/ts-drawing-components-polygon.md @@ -5,7 +5,7 @@ > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. -The **<Polygon>** component is used to draw a polygon. +The **** component is used to draw a polygon. ## Required Permissions @@ -25,13 +25,13 @@ Polygon(value:{options?: {width: Length, height: Length}}) - Parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | - | options | Object | No | - | For details, see the **options** parameters. | + | options | Object | No | - | Options of the polygon to draw. For details, see the **options** parameters. | - options parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | - | width | Length | Yes | - | Width. | - | height | Length | Yes | - | Height. | + | width | Length | Yes | - | Width of the polygon. | + | height | Length | Yes | - | Height of the polygon. | ## Attributes diff --git a/en/application-dev/reference/arkui-ts/ts-drawing-components-polyline.md b/en/application-dev/reference/arkui-ts/ts-drawing-components-polyline.md index 46be2a6f99bacc29d3179008ab776c91c497ca2e..cb7d549bf6cb5c379175563c4f6c23c3aaa48dff 100644 --- a/en/application-dev/reference/arkui-ts/ts-drawing-components-polyline.md +++ b/en/application-dev/reference/arkui-ts/ts-drawing-components-polyline.md @@ -5,7 +5,7 @@ > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. -The **<Polyline>** component is used to draw a polyline. +The **** component is used to draw a polyline. ## Required Permissions @@ -25,13 +25,13 @@ Polyline(options?: {width: Length, height: Length}) - Parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | - | options | Object | No | - | For details, see the **options** parameters. | + | options | Object | No | - | Options of the polyline to draw. For details, see the **options** parameters. | - options parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | - | width | Length | Yes | - | Width. | - | height | Length | Yes | - | Height. | + | width | Length | Yes | - | Width of the polyline. | + | height | Length | Yes | - | Height of the polyline. | ## Attributes diff --git a/en/application-dev/reference/arkui-ts/ts-drawing-components-rect.md b/en/application-dev/reference/arkui-ts/ts-drawing-components-rect.md index b2cffda44f1c3059e015096baf5f67a68e682aee..88749561851f713382b1047679d426ab34d3df39 100644 --- a/en/application-dev/reference/arkui-ts/ts-drawing-components-rect.md +++ b/en/application-dev/reference/arkui-ts/ts-drawing-components-rect.md @@ -5,7 +5,7 @@ > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. -The **<Rect>** component is used to draw a rectangle. +The **** component is used to draw a rectangle. ## Required Permissions @@ -25,14 +25,14 @@ Rect(value:{options?: {width: Length,height: Length,radius?: Length | Array<L - Parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | - | options | Object | No | - | For details, see the **options** parameters. | + | options | Object | No | - | Options of the rectangle to draw. For details, see the **options** parameters. | - options parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | - | width | Length | Yes | - | Width. | - | height | Length | Yes | - | Height. | - | radius | Length \| Array<Length> | No | 0 | Radius of a rounded corner. You can set the radius of four rounded corners. | + | width | Length | Yes | - | Width of the rectangle. | + | height | Length | Yes | - | Height of the rectangle. | + | radius | Length \| Array<Length> | No | 0 | Radius of the rounded corner. You can set the radius of four rounded corners. | | radiusWidth | Length | No | 0 | Width of the rounded corner. | | radiusHeight | Length | No | 0 | Height of the rounded corner. | @@ -41,11 +41,11 @@ Rect(value:{options?: {width: Length,height: Length,radius?: Length | Array<L | Name | Type | Default Value | Mandatory | Description | | -------- | -------- | -------- | -------- | -------- | -| width | Length | 0 | No | Width. | -| height | Length | 0 | No | Height. | -| radiusWidth | Length | 0 | No | Width of a rounded corner. The width and height are the same when only the width is set. | +| width | Length | 0 | No | Width of the rectangle. | +| height | Length | 0 | No | Height of the rectangle. | +| radiusWidth | Length | 0 | No | Width of the rounded corner. The width and height are the same when only the width is set. | | radiusHeight | Length | 0 | No | Height of the rounded corner. The width and height are the same only when the height is set. | -| radius | Length \| Array<Length> | 0 | No | Size of the rounded corner. | +| radius | Length \| Array<Length> | 0 | No | Radius of the rounded corner. | ## Example