public interface

Renderer

implements Serializable
com.esri.core.renderer.Renderer
Known Indirect Subclasses

Class Overview

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

Summary

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

Public Methods

public abstract Symbol getSymbol (Feature graphic)

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

Parameters
graphic Feature: The Feature to symbolize.
Returns
Symbol the symbol based on the properties of the graphic.

public abstract String toJson ()

Converts the render to a Json String.

Returns
String
Throws
Exception