Class: RendererE-mail This Topic Printable Version Give Us Feedback

Description

Class added v1.4.

The base class for all renderers used with a GraphicsLayer. Renderer has no constructor. Use SimpleRenderer, ClassBreaksRenderer, or UniqueValueRenderer.

Class hierarchy

esri.renderer.Renderer

Subclasses

ClassBreaksRenderer  SimpleRenderer  UniqueValueRenderer  

Properties

Property Type Description
defaultSymbol Symbol Default symbol used when a value or break cannot be matched.

Methods

Method Return Value Description
getSymbol(graphic) Symbol Gets the symbol for the Graphic.
Properties Detail

<Symbol> defaultSymbol

Default symbol used when a value or break cannot be matched.
Methods Detail

getSymbol(graphic)

Gets the symbol for the Graphic.
Return value: Symbol
Input Parameters:
<Graphic> graphic Required Graphic to symbolize. Used when creating a custom renderer.