<doc>
  <legacy_id>1943</legacy_id>
  <name>curve</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Developing with LiveCode</category>
  </classification>
  <references>
    <command tag="choose">choose Command</command>
  </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>Designates the <glossary tag="paint tool">paint tool</glossary> used to draw curved <keyword tag="lines">lines</keyword>. It also specifies, through the <property tag="style">style</property> <glossary tag="property">property</glossary>, that a <keyword tag="graphic">graphic</keyword> is a curved <keyword tag="line">line</keyword>.</summary>
  <examples>
    <example>choose curve tool</example>
    <example>set the style of last graphic to curve</example>
  </examples>
  <description>
    <p>Use the <b>curve</b> <glossary tag="keyword">keyword</glossary> to paint a curved line with the <property tag="penColor">penColor</property> or to change a <keyword tag="graphic">graphic</keyword> <glossary tag="object">object</glossary> to a curved <keyword tag="line">line</keyword>.</p><p/><p><b>Comments:</b></p><p>When using the Curve tool, the cursor is a crosshairs shape (over stack windows) or an arrow (anywhere else). This tool is used to draw a freehand line in the <b>penColor</b> (or <property tag="penPattern">penPattern</property>).</p><p/><p>If you try to paint with the Curve tool on a card that has no images, an image the size of the card is created to hold the painting. If the current card already has one or more images, painting outside the image has no effect.</p><p/><p>Setting the <b>style</b> of a <keyword tag="graphic">graphic</keyword> to<code> curve </code>makes the graphic into a curved line. Curve <glossary tag="graphic">graphics</glossary>, unlike painted curves, can be changed and reshaped: use the <property tag="points">points</property> <glossary tag="property">property</glossary> to change the shape of the curve. </p>
  </description>
</doc>