Class EsriSymbol

Hierarchy

  • Accessor
  • JSONSupport
    • EsriSymbol

Constructors

  • Symbol is the base class for all symbols.

    Read more...

    Parameters

    • Optional properties: SymbolProperties

    Returns EsriSymbol

Properties

color: EsriColour

The color of the symbol.

Default

black

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html#color)
declaredClass: string
destroyed: boolean
initialized: boolean
type: "text" | "picture-marker" | "simple-fill" | "simple-line" | "simple-marker" | "picture-fill" | "shield-label-symbol" | "point-3d" | "line-3d" | "polygon-3d" | "web-style" | "mesh-3d" | "label-3d" | "cim"

The symbol type.

Read more...

Methods

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriSymbol

  • Type Parameters

    • T

    Parameters

    • handles: IHandle | IHandle[]
    • Optional groupKey: Exclude<T, IHandle>

    Returns void

  • Returns void

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • Optional groupKey: Exclude<T, IHandle>

    Returns boolean

  • Parameters

    • propertyName: string

    Returns void

  • Deprecated

    Since 4.25. Use addHandles(), removeHandles() and hasHandles() instead.

    Parameters

    • handles: IHandle | IHandle[]

    Returns void

  • Type Parameters

    • T

    Parameters

    • Optional groupKey: Exclude<T, IHandle>

    Returns void

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriSymbol

  • Parameters

    • props: HashMap<any>

    Returns EsriSymbol

  • Converts an instance of this class to its ArcGIS portal JSON representation.

    Read more...

    Returns any

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

  • Parameters

    • json: any

    Returns EsriSymbol

Generated using TypeDoc