Options
All
  • Public
  • Public/Protected
  • All
Menu

Text symbols are used to add text to a feature (labeling).

Part of the Esri ArcGIS REST API (see http://resources.arcgis.com/en/help/rest/apiref/symbol.html).

Hierarchy

Index

Properties

Optional angle

angle: number

Optional backgroundColor

backgroundColor: Color

Optional borderLineColor

borderLineColor: Color

Optional borderLineSize

borderLineSize: number

Optional color

color: Color

Optional font

font: object

Type declaration

  • Optional decoration?: string

    One of the TextDecoration constants.

  • Optional family?: string
  • Optional size?: number
  • Optional style?: string

    One of the FontStyle constants.

  • Optional weight?: string

    One of the FontWeight constants.

Optional haloColor

haloColor: Color

Optional haloSize

haloSize: number

Optional horizontalAlignment

horizontalAlignment: string

One of the HorizontalAlignment constants.

Optional kerning

kerning: boolean

Optional rightToLeft

rightToLeft: boolean

Optional text

text: string

Only applicable when specified as a client-side graphic.

type

type: string

The type of symbol. One of the SymbolType constants.

Optional verticalAlignment

verticalAlignment: string

One of the VerticalAlignment constants.

Optional xoffset

xoffset: number

Optional yoffset

yoffset: number