Options
All
  • Public
  • Public/Protected
  • All
Menu

Presents a similar interface to {@link esri.renderer.Renderer} as a graphic can be supplied to getSymbol() and a symbol recieved in return. Despite the name, this is used exclusively for highlight graphics in GVH, and as such, the getSymbol method has been modified to produce these.

Hierarchy

  • SimpleRenderer

Index

Constructors

constructor

  • Initializes a new instance of the {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.SimpleRenderer} class.

    constructs
    memberof

    geocortex.essentialsHtmlViewer.mapping.infrastructure.SimpleRenderer

    Returns SimpleRenderer

Properties

borderColor

borderColor: Color

The color scheme to draw the border of the graphics.

borderWidth

borderWidth: number

The width to draw the border of the graphics.

defaultSymbol

defaultSymbol: Symbol

Matches a member in {@link esri.renderer.Renderer}.

fillColor

fillColor: Color

The color scheme to fill the graphics.

polylineOpacity

polylineOpacity: number

Special opacity setting for polylines, but not marker or polygon outlines

Methods

clone

  • Returns the clone of {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.SimpleRenderer} object

    Returns SimpleRenderer

getSymbol

  • getSymbol(graphic: Graphic, symbol?: Symbol, isEmphasis?: boolean): Symbol
  • Returns the highlight or emphasis symbols corresponding to the geometry of given graphic. 'highlight' being the thicker border on the bottom, and 'emphasis' being the thinner line on top.

    Parameters

    • graphic: Graphic

      The ESRI graphic

    • Optional symbol: Symbol

      Original symbol which can be used to influence the produced symbol.

    • Optional isEmphasis: boolean

      Flag to apply special rules for drawing the emphasis line

    Returns Symbol

    The ESRI symbol

toJson

  • toJson(): any
  • Returns any