GRADIENTFILLSYMBOL | Examples |
<GRADIENTFILLSYMBOL | Attribute
Description Table |
antialiasing ="true | false" [false]
finishcolor ="0,0,0 - 255,255,255" [0,255,0] overlap ="true | false" [true] startcolor ="0,0,0 - 255,255,255" [255,0,0] transparency ="0.0 - 1.0" [1.0] type ="bdiagonal | fdiagonal | horizontal | vertical" [bdiagonal] > No child elements </GRADIENTFILLSYMBOL > |
Attribute | Usage | Back to Top |
---|---|---|
antialiasing | Used to make edges of labels and symbols smoother. When set to true, antialiasing is active. Note that the time to generate a map may significantly increase when antialiasing is turned on. | |
finishcolor | End color using RGB values. | |
overlap | Determines if labels can overlap this symbol. When true, labels can overlap. When false, labels will not overlap the symbol. If labels are not drawing as expected, check if overlap is set to false for this symbol or any other symbol in the MapService. | |
startcolor | Start color using RGB values. | |
transparency | Value to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent. | |
type | Symbol type. |
Example 1: When in CONFIG or REQUEST. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="-124.594842" miny="24.955227" maxx="-67.672764" maxy="49.596039" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>"/> </WORKSPACES> <LAYER type="featureclass" name="STATES" visible="true" id="1"> <DATASET name="STATES" type="polygon" workspace="shp_ws-0" /> <SIMPLERENDERER> <GRADIENTFILLSYMBOL transparency="1.0" type="vertical" startcolor="0,255,0" finishcolor="0,0,255" overlap="true" /> </SIMPLERENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |