<?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: How to draw a polygon with outline? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/356057#M60594</link>
    <description>&lt;P&gt;Sorry, I forgot that the Polygon() graphics function renders filled shapes. Use Line() function instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );

New Window( "Draw My Polygon",
	Outline Box( "Polygon",
		Graph Box(
			Line(
				{ 10, 10 },
				{ 50, 10 },
				{ 90, 50 },
				{ 50, 90 },
				{ 10, 10 }
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 04 Feb 2021 17:33:41 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2021-02-04T17:33:41Z</dc:date>
    <item>
      <title>How to draw a polygon with outline?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/355619#M60561</link>
      <description>&lt;P&gt;I have a piece of script that draws a polygon.&lt;/P&gt;&lt;P&gt;It has semi-transparent fill, but I'd rather have just line outline. How do I do that?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	framebox &amp;lt;&amp;lt; Add Graphics Script(
		Transparency( 0.5 );
		Fill Color("Green");
		Polygon( {246, 37}, {246, 437}, {772, 437}, {772, 37} );
                //Command for an outline?
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:10:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/355619#M60561</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-06-11T11:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a polygon with outline?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/355656#M60564</link>
      <description>&lt;P&gt;What do you get with this version:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;framebox &amp;lt;&amp;lt; Add Graphics Script(
	Polygon( {246, 37}, {246, 437}, {772, 437}, {772, 37} );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Feb 2021 20:26:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/355656#M60564</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-02-03T20:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a polygon with outline?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/355719#M60567</link>
      <description>I'm getting dark violet polygon, no outline.&lt;BR /&gt;I think I'll just use Line(); instead.</description>
      <pubDate>Thu, 04 Feb 2021 01:26:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/355719#M60567</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2021-02-04T01:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a polygon with outline?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/356057#M60594</link>
      <description>&lt;P&gt;Sorry, I forgot that the Polygon() graphics function renders filled shapes. Use Line() function instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );

New Window( "Draw My Polygon",
	Outline Box( "Polygon",
		Graph Box(
			Line(
				{ 10, 10 },
				{ 50, 10 },
				{ 90, 50 },
				{ 50, 90 },
				{ 10, 10 }
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Feb 2021 17:33:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-polygon-with-outline/m-p/356057#M60594</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-02-04T17:33:41Z</dc:date>
    </item>
  </channel>
</rss>

