<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can SimpleLineSymbol have a width smaller than 1? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128942#M11936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It makes sense. And, thanks for the link to the demo!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2012 17:13:11 GMT</pubDate>
    <dc:creator>MikeOnzay</dc:creator>
    <dc:date>2012-02-01T17:13:11Z</dc:date>
    <item>
      <title>Can SimpleLineSymbol have a width smaller than 1?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128938#M11932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The API states the width is in pixels. I have tried numbers smaller than 1 (0.5, 0.25, 0.05) and my lines, or outlines to my SimpleFillSymbols are still very wide. Is there another solution? I'm using a featurelayer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 16:14:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128938#M11932</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-02-01T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can SimpleLineSymbol have a width smaller than 1?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128939#M11933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please post some code to show what you're doing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 16:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128939#M11933</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-01T16:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can SimpleLineSymbol have a width smaller than 1?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128940#M11934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is what I was doing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var symbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new dojo.Color([0,0,0],0.1)),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new dojo.Color([100,149,237,0.15]));&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, after posting the original question, I changed the line style from STYLE_SOLID to NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var symbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.NULL,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new dojo.Color([0,0,0])),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new dojo.Color([255, 255, 0,0.15]));&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the polygon displays with the thin line that I expected to see in the first place. But, it doesn't make sense to me why it works because the API states that NULL means "The line has no symbol".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128940#M11934</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2021-12-11T07:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can SimpleLineSymbol have a width smaller than 1?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128941#M11935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The parameters for &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/simplefillsymbol.htm#SimpleFillSymbolConst" rel="nofollow" target="_blank"&gt;SimpleFillSymbol&lt;/A&gt;&lt;SPAN&gt; constructor are style, outline and color. For simple fill symbols, style specifies the fill style. To work with the outline, you tweak the line symbol used by the fill symbol. Make sense?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an old demo (released with v1.1 of the API, I think) I still use from time to time to generate code for various symbols:&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverx.esri.com/ArcGISJavaScriptAPI/CodeGallery/graphic_symbology.html" rel="nofollow" target="_blank"&gt;http://serverx.esri.com/ArcGISJavaScriptAPI/CodeGallery/graphic_symbology.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You almost always have to further tweak the JS generated there but it's a nice place to play around.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 16:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128941#M11935</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-01T16:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can SimpleLineSymbol have a width smaller than 1?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128942#M11936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It makes sense. And, thanks for the link to the demo!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 17:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128942#M11936</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-02-01T17:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can SimpleLineSymbol have a width smaller than 1?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128943#M11937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good stuff. And thanks for marking my post as an answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 17:17:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-simplelinesymbol-have-a-width-smaller-than-1/m-p/128943#M11937</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-01T17:17:54Z</dc:date>
    </item>
  </channel>
</rss>

