Tag Shape
TIP
This component also supports a return function
To create an arc shape with fcanvas, we can instantiate a Tag object.
In addition, this shape also provides a few other parameters:
Optional Options
| Name | Type | Default | Description |
|---|---|---|---|
| pointerDirection | MayBeRef<"up" | "down" | "left" | "right" | "none"> | "none" | The display direction of the arrow of Tag. If equal "none" not display arrow |
| pointerWidth | MayBeRef<number> | width of arrow | |
| pointerHeight | MayBeRef<number> | width of height | |
| cornerRadius | MayBeRef<number | [number, number] | [number, number, number, number> | 0 | This property is same as border-radius in css |
| width | MayBeRef<number> | auto | width length |
| height | MayBeRef<number> | auto | height length |