Class EsriSimpleLineSymbol

Hierarchy

  • LineSymbol
    • EsriSimpleLineSymbol

Constructors

Properties

cap: "butt" | "round" | "square"

Specifies the cap style.

Default

round

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html#cap)
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
join: "round" | "miter" | "bevel"

Specifies the join style.

Default

round

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html#join)
marker: null | LineSymbolMarker

Specifies the color, style, and placement of a symbol marker on the line.

Read more...

miterLimit: number

Maximum allowed ratio of the width of a miter join to the line width.

Default

2

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html#miterLimit)
style: "none" | "solid" | "dash" | "dash-dot" | "dot" | "long-dash" | "long-dash-dot" | "long-dash-dot-dot" | "short-dash" | "short-dash-dot" | "short-dash-dot-dot" | "short-dot"

Specifies the line style.

Default

solid

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html#style)
type: "simple-line"

The symbol type.

Read more...

width: number

The width of the symbol in points.

Default

0.75

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LineSymbol.html#width)

Methods

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriSimpleLineSymbol

  • 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 EsriSimpleLineSymbol

  • Parameters

    • props: HashMap<any>

    Returns EsriSimpleLineSymbol

  • 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

Generated using TypeDoc