Skip to content

TextSymbol

TextSymbol = object

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

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

optional color?: string

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

Text color as a hex string. Defaults to black.


optional fontFamily?: string

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

Font family name.


optional haloColor?: string

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

Halo (outline) color as a hex string.


optional haloWidth?: number

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

Halo width in points.


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

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

Horizontal anchor. Defaults to center.


optional size?: number

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

Font size in points.


text: string

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

The text to draw.


type: "text"

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


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

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

Vertical anchor. Defaults to middle.