<doc>
  <legacy_id>1132</legacy_id>
  <name>polySides</name>
  <type>property</type>
  <syntax>
    <example>set the polySides [of <i>graphic</i>] to <i>numberOfSides</i></example>
  </syntax>
  <library></library>
  <objects>
    <graphic/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <command tag="choose">choose Command</command>
    <property tag="slices">slices Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies how many sides a <keyword tag="regular">regular polygon</keyword> has.</summary>
  <examples>
    <example>set the polySides to 3 <code><i>-- to make triangles</i></code></example>
    <example>set the polySides of graphic "Hex" to 6 <code><i>-- hexagon</i></code></example>
  </examples>
  <description>
    <p>Use the <b>polySides</b> <glossary tag="property">property</glossary> to change the <glossary tag="appearance">appearance</glossary> of <glossary tag="polygon">polygons</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>polySides</b> of a <keyword tag="graphic">graphic</keyword> is an <keyword tag="integer">integer</keyword> greater than 2.</p><p/><p>By default, the <b>polySides</b> of a newly created <keyword tag="graphic">graphic</keyword> is 4.</p><p/><p><b>Comments:</b></p><p>The <b>polySides</b> <glossary tag="property">property</glossary> affects only <glossary tag="graphic">graphics</glossary> whose <property tag="style">style</property> <glossary tag="property">property</glossary> is set to<code> regular</code>.</p><p/><p>The global setting of the <b>polySides</b> <glossary tag="property">property</glossary> controls the appearance of <glossary tag="polygon">polygons</glossary> drawn with the <glossary tag="paint tool">paint tools</glossary>. Once a paint <keyword tag="polygon">polygon</keyword> is drawn, its appearance can no longer be changed by changing the <command tag="global">global</command> <b>polySides</b> <glossary tag="property">property</glossary>.</p>
  </description>
</doc>