Skip to main content

Interface: TagConfiguration

component.TagConfiguration

Interface for configuration of tag component.

interface

example

var viewer = new Viewer({    ...    component: {        tag: {            createColor: 0xFF0000,            mode: TagMode.CreateRect,        },    },    ...});

Hierarchy#

  • ComponentConfiguration

    ↳ TagConfiguration

Properties#

createColor#

• Optional createColor: number

The color of vertices and edges for tags that are being created.

default 0xFFFFFF

Defined in#

component/interfaces/TagConfiguration.ts:29


indicatePointsCompleter#

• Optional indicatePointsCompleter: boolean

Show an indicator at the centroid of the points geometry that creates the geometry when clicked.

default true

Defined in#

component/interfaces/TagConfiguration.ts:36


mode#

• Optional mode: TagMode

The interaction mode of the tag component.

default TagMode.Default

Defined in#

component/interfaces/TagConfiguration.ts:43