> 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 **<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.
1.The drawing components use **<Shape>** as the parent component to implement the effect similar to SVG.
1.Drawing components use **<Shape\>** 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 **<Shape\>** 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 |