Skip to content
On this page

Tag Shape

TIP

This class is a descendant of Shape it also inherits all the options that Shape provides.

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

NameTypeDefaultDescription
pointerDirectionMayBeRef<"up" | "down" | "left" | "right" | "none">"none"The display direction of the arrow of Tag. If equal "none" not display arrow
pointerWidthMayBeRef<number>width of arrow
pointerHeightMayBeRef<number>width of height
cornerRadiusMayBeRef<number | [number, number] | [number, number, number, number>0This property is same as border-radius in css
widthMayBeRef<number>autowidth length
heightMayBeRef<number>autoheight length

This component is a wrapper for Text in Label

Released under the MIT License.