public interface

Renderer

implements Serializable
com.esri.core.renderer.Renderer<V>
Known Indirect Subclasses

Class Overview

Base class for all renderers - use SimpleRenderer with a GraphicsLayer.

Summary

Public Methods
abstract Symbol getSymbol(V graphic)
Subclasses must override this method.
abstract String toJson()
Converts the render to a Json String.

Public Methods

public abstract Symbol getSymbol (V graphic)

Subclasses must override this method. You wouldn't typically work with this method unless you need to create your own renderer.

Parameters
graphic The Graphic to symbolize.
Returns
  • the symbol based on the properties of the graphic.

public abstract String toJson ()

Converts the render to a Json String.

Throws
Exception