Skip to content
Guides API

TextSymbol

TextSymbol = object

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

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

optional color?: string

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

Text color as a hex string. Defaults to black.


optional fontFamily?: string

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

Font family name.


optional haloColor?: string

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

Halo (outline) color as a hex string.


optional haloWidth?: number

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

Halo width in points.


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

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

Horizontal anchor. Defaults to center.


optional size?: number

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

Font size in points.


text: string

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

The text to draw.


type: "text"

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


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

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

Vertical anchor. Defaults to middle.