Skip to main content

Interface: SpotTagOptions

component.SpotTagOptions

Interface for the options that define the behavior and appearance of the spot tag.

interface

Properties#

color#

• Optional color: number

Color for the spot specified as a hexadecimal number.

default 0xFFFFFF

Defined in#

component/tag/interfaces/SpotTagOptions.ts:12


editable#

• Optional editable: boolean

Indicate whether the tag geometry should be editable.

default false

Defined in#

component/tag/interfaces/SpotTagOptions.ts:18


icon#

• Optional icon: string

A string referencing the sprite data property to pull from.

Defined in#

component/tag/interfaces/SpotTagOptions.ts:23


text#

• Optional text: string

Text shown as label if no icon is provided.

Defined in#

component/tag/interfaces/SpotTagOptions.ts:28


textColor#

• Optional textColor: number

Text color as hexadecimal number.

default 0xFFFFFF

Defined in#

component/tag/interfaces/SpotTagOptions.ts:34