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

Description

Fill symbols are used to draw polygon features on the graphics layer. Fills can be specified as solid, hatched, or pictures. In addition, the symbol can have an optional outline, which is defined by a line symbol.

FillSymbol has no constructor. Use SimpleFillSymbol or PictureFillSymbol.

Class hierarchy

esri.symbol.Symbol
  |_ esri.symbol.FillSymbol

Subclasses

PictureFillSymbol  SimpleFillSymbol  

Properties

Property Type Description
outline SimpleLineSymbol Outline of the polygon.

Methods

Method Return Value Description
setOutline(outline) FillSymbol Sets the outline of the fill symbol.
Properties Detail

<SimpleLineSymbol> outline

Outline of the polygon.
Methods Detail

setOutline(outline)

Sets the outline of the fill symbol.
Return value: FillSymbol
Input Parameters:
<SimpleLineSymbol> outline Required Symbol used for outline.
Code snippets:
selSymbol.setOutline(new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,0,0]), 2));