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

angle

angle: number

backgroundColor

backgroundColor: Color

borderLineColor

borderLineColor: Color

borderLineSize

borderLineSize: number

color

color: Color

font

font: object

Type declaration

  • decoration: string

    One of the TextDecoration constants.

  • family: string
  • size: number
  • style: string

    One of the FontStyle constants.

  • weight: string

    One of the FontWeight constants.

haloColor

haloColor: Color

haloSize

haloSize: number

horizontalAlignment

horizontalAlignment: string

One of the HorizontalAlignment constants.

kerning

kerning: boolean

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.

verticalAlignment

verticalAlignment: string

One of the VerticalAlignment constants.

xoffset

xoffset: number

yoffset

yoffset: number