Skip to content
Guides API

TextSymbol

TextSymbol = object

Defined in: src/ExpoArcgis.types.ts:2515

A text symbol that draws a string at a point. Mirrors the native TextSymbol.

optional color?: string

Defined in: src/ExpoArcgis.types.ts:2520

Text color as a hex string. Defaults to black.


optional fontFamily?: string

Defined in: src/ExpoArcgis.types.ts:2528

Font family name.


optional haloColor?: string

Defined in: src/ExpoArcgis.types.ts:2524

Halo (outline) color as a hex string.


optional haloWidth?: number

Defined in: src/ExpoArcgis.types.ts:2526

Halo width in points.


optional horizontalAlignment?: "left" | "center" | "right" | "justify"

Defined in: src/ExpoArcgis.types.ts:2530

Horizontal anchor. Defaults to center.


optional size?: number

Defined in: src/ExpoArcgis.types.ts:2522

Font size in points.


text: string

Defined in: src/ExpoArcgis.types.ts:2518

The text to draw.


type: "text"

Defined in: src/ExpoArcgis.types.ts:2516


optional verticalAlignment?: "top" | "middle" | "bottom" | "baseline"

Defined in: src/ExpoArcgis.types.ts:2532

Vertical anchor. Defaults to middle.