<doc>
  <legacy_id>2204</legacy_id>
  <name>shadowOffset</name>
  <type>property</type>
  <syntax>
    <example>set the shadowOffset of <i>object</i> to <i>pixels</i></example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
    <card/>
    <group/>
    <field/>
    <button/>
    <graphic/>
    <scrollbar/>
    <player/>
    <image/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="shadow">shadow 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 the size and direction of an <glossary tag="object">object's</glossary> drop shadow.</summary>
  <examples>
    <example>set the shadowOffset of button "Prospects" to 2</example>
    <example>set the shadowOffset of field "Help" to -6</example>
  </examples>
  <description>
    <p>Use the <b>shadowOffset</b> <glossary tag="property">property</glossary> to change the appearance of drop shadows.</p><p/><p><b>Value:</b></p><p>The <b>shadowOffset</b> of an <glossary tag="object">object</glossary> is an <keyword tag="integer">integer</keyword> between -128 and 127.</p><p/><p>By default, the <b>shadowOffset</b> of a newly created <glossary tag="object">object</glossary> is 4.</p><p/><p><b>Comments:</b></p><p>Because this also changes the position of the imaginary light source that casts the shadow, the <b>shadowOffset</b> of all <glossary tag="object">objects</glossary> on a <keyword tag="card">card</keyword> should usually be the same.</p><p/><p>The <b>shadowOffset</b> specifies how far the shadow extends from the edge of the <glossary tag="object">object</glossary>. If the <b>shadowOffset</b> is positive, the imaginary light source is at the upper left corner of the screen, so the drop shadow falls below and to the right of the <glossary tag="object">object</glossary>. If the <b>shadowOffset</b> is <glossary tag="negative">negative</glossary>, the direction of the light source is reversed, and the drop shadow falls above and to the left of the <glossary tag="object">object</glossary>.</p><p/><p>If the object's <b>shadow</b> <glossary tag="property">property</glossary> is false, the <b>shadowOffset</b> has no effect.</p>
  </description>
</doc>