<doc>
  <legacy_id>1975</legacy_id>
  <name>centered</name>
  <type>property</type>
  <syntax>
    <example>set the centered to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Developing with LiveCode</category>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="powerKeys">powerKeys Property</property>
    <property tag="slices">slices Property</property>
    <property tag="multiple">multiple Property</property>
    <property tag="gridSize">gridSize 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 whether <glossary tag="object">objects</glossary> are drawn from the center to the edge, or from corner to corner.</summary>
  <examples>
    <example>set the centered to true</example>
  </examples>
  <description>
    <p>Use the <b>centered</b> <glossary tag="property">property</glossary> to change the way <glossary tag="object">objects</glossary> are drawn when they are created with the <glossary tag="object">object's</glossary> <function tag="tool">tool</function>, and to change how <glossary tag="object">objects</glossary> are resized.</p><p/><p><b>Value:</b></p><p>The <b>centered</b> is true or false.</p><p/><p>By default, the <b>centered</b> is set to false.</p><p/><p><b>Comments:</b></p><p>If the <b>centered</b> <glossary tag="property">property</glossary> is set to true, when the user creates an <glossary tag="object">object</glossary> by clicking and dragging with the appropriate <function tag="tool">tool</function>, the first <keyword tag="point">point</keyword> clicked is the center of the <glossary tag="object">object</glossary>, and the user drags to an edge to complete the <glossary tag="object">object</glossary>.</p><p/><p>If the <b>centered</b> is false, the first <keyword tag="point">point</keyword> clicked is a corner, and the user drags to the opposite corner to complete the <glossary tag="object">object</glossary>.</p><p/><p>The <b>centered</b> also affects how <glossary tag="object">objects</glossary> are resized with the <glossary tag="Pointer tool">Pointer tool</glossary>. If the <b>centered</b> is true, dragging a <glossary tag="handle">handle</glossary> at the corner or side of an <glossary tag="object">object</glossary> resizes the <glossary tag="object">object</glossary> symmetrically, so its center remains in the same place. If the <b>centered</b> is false, dragging a corner or side moves only that corner or side.</p>
  </description>
</doc>