<doc>
  <legacy_id>1130</legacy_id>
  <name>slices</name>
  <type>property</type>
  <syntax>
    <example>set the slices to <i>number</i></example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Developing with LiveCode</category>
  </classification>
  <references>
    <property tag="grid">grid Property</property>
    <property tag="polySides">polySides Property</property>
    <property tag="centered">centered Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Specifies how many angles a <keyword tag="line">line</keyword> can snap to when drawing a <keyword tag="line">line</keyword> or irregular <keyword tag="polygon">polygon</keyword> with the Shift key held down.</summary>
  <examples>
    <example>set the slices to 4 <code><i>-- only 90-degree angles with shift key</i></code></example>
    <example>set the slices to card field 2</example>
  </examples>
  <description>
    <p>Use the <b>slices</b> <glossary tag="property">property</glossary> to draw lines at specified angles.</p><p/><p><b>Value:</b></p><p>The <b>slices</b> is an <keyword tag="integer">integer</keyword> greater than 1.</p><p/><p>By default, the <b>slices</b> <glossary tag="property">property</glossary> is 16.</p><p/><p><b>Comments:</b></p><p>The <b>slices</b> <glossary tag="property">property</glossary> is specified in <glossary tag="degree">degrees</glossary>. 360 (the number of <glossary tag="degree">degrees</glossary> in a full circle) divided by the <b>slices</b> yields the angle of each slice to the next slice. For example, if the <b>slices</b> is set to 16,  the angle of a line drawn with the Shift key held down can be any multiple of 22.5 <glossary tag="degree">degrees</glossary> (360 divided by 16).</p>
  </description>
</doc>