<?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: JSON format diagonal fill symbol not the right color? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47111#M4123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know if any of you still want this capability, but one solution is to use a PictureFillSymbol with a graphic having the appropriate repeating diagonal color lines.&amp;nbsp; You just have to make sure they are aligned so that when it repeats it lines up on both edges.&amp;nbsp; It's not perfect, but it gets the effect.&amp;nbsp; I haven't tried it but you can probably use a PNG with transparency if you want lines with gaps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2019 13:15:25 GMT</pubDate>
    <dc:creator>JoshOng</dc:creator>
    <dc:date>2019-06-27T13:15:25Z</dc:date>
    <item>
      <title>JSON format diagonal fill symbol not the right color?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47104#M4116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used the JSON format successfully for symbology in the past, but this is the first time I've used something besides solid or null for the fill.&amp;nbsp; For this project I wanted a diagonal line.&amp;nbsp; I&amp;nbsp; defined it in JSON format as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var myfill = new SimpleFillSymbol({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type": "esriSFS",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "style": "esriSFSForwardDiagonal",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "color": [255, 0, 0, 255],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "outline": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type": "esriSLS",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "style": "esriSLSSolid",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "color": [255, 0, 0, 130],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "width": 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })&lt;/P&gt;&lt;P&gt;&lt;IMG alt="diagolSym.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/151543_diagolSym.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expected the diagonal lin&lt;SPAN style="line-height: 1.5;"&gt;es to&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; be re&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;d, but they are black.&amp;nbsp; The red outline is correct.&amp;nbsp; I've tried 3.14 and 3.15 and got the same results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What gives?&amp;nbsp; I'm&lt;SPAN style="line-height: 1.5;"&gt; following the syntax for symbol objects found in &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000n5000000" style="line-height: 1.5;" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000n5000000"&gt;ArcGIS REST API&lt;/A&gt;&lt;SPAN style="line-height: 1.5;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 20:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47104#M4116</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-12-03T20:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: JSON format diagonal fill symbol not the right color?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47105#M4117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Right from the docs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px; background-color: #fafafa;"&gt;Symbol color - only applies when&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; color: #595959; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px; background: transparent;"&gt;SimpleFillSymbol.style = 'STYLE_SOLID'&lt;/CODE&gt;&lt;SPAN style="color: #595959; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px; background-color: #fafafa;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 21:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47105#M4117</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-03T21:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: JSON format diagonal fill symbol not the right color?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47106#M4118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an issue going back some time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/205321"&gt;Re: Graphic symbol, Hatch pattern fill - STYLE_FORWARD_DIAGONAL cannot be colored?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 21:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47106#M4118</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2015-12-03T21:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: JSON format diagonal fill symbol not the right color?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47107#M4119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see that it's mentioned on the link I sent.&amp;nbsp; I didn't cross check it against the API reference, because the API reference often tells you to find the JSON format off the REST help.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 21:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47107#M4119</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-12-03T21:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: JSON format diagonal fill symbol not the right color?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47108#M4120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't seem that complicated for ESRI to fix.&amp;nbsp; I'll have to decide which I'd rather see - red or the cross hatching. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 21:10:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47108#M4120</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-12-03T21:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSON format diagonal fill symbol not the right color?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47109#M4121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Here is the link to the JS API reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/simplefillsymbol-amd.html#color" title="https://developers.arcgis.com/javascript/jsapi/simplefillsymbol-amd.html#color"&gt;SimpleFillSymbol | API Reference | ArcGIS API for JavaScript | Color&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 21:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47109#M4121</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-03T21:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: JSON format diagonal fill symbol not the right color?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47110#M4122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tracy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange enough i find a way to manage this. At the Moment we change the way, how we&lt;/P&gt;&lt;P&gt;produce PDFs. With a lot of testing and programming I inserted the PrintTask widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While Testing our Drawingtool, not expecting anything has changed with the Fillcolor, i make some Testprintouts and there it shoes that the Fillcolour of the screen is still black, but in the Printouts the chosen color is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why this is possible in the printouts and not on screen but for us it's enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Area how it looks on screen ( Filling should be red )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/152730_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how it looks in the Printout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" height="165" src="https://community.esri.com/legacyfs/online/152731_pastedImage_1.png" style="width: 236px; height: 164.599px;" width="236" /&gt;&lt;/P&gt;&lt;P&gt;Maybe this solution helps.&lt;/P&gt;&lt;P&gt;Regards, Miriam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 12:12:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47110#M4122</guid>
      <dc:creator>MiriamBrockmann</dc:creator>
      <dc:date>2015-12-07T12:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: JSON format diagonal fill symbol not the right color?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47111#M4123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know if any of you still want this capability, but one solution is to use a PictureFillSymbol with a graphic having the appropriate repeating diagonal color lines.&amp;nbsp; You just have to make sure they are aligned so that when it repeats it lines up on both edges.&amp;nbsp; It's not perfect, but it gets the effect.&amp;nbsp; I haven't tried it but you can probably use a PNG with transparency if you want lines with gaps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 13:15:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-format-diagonal-fill-symbol-not-the-right/m-p/47111#M4123</guid>
      <dc:creator>JoshOng</dc:creator>
      <dc:date>2019-06-27T13:15:25Z</dc:date>
    </item>
  </channel>
</rss>

