<doc>
  <legacy_id>1921</legacy_id>
  <name>reverse</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <keyword tag="notSrcCopy">notSrcCopy Keyword</keyword>
  </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 one of the <glossary tag="transfer mode">transfer modes</glossary> that can be used with the <property tag="ink">ink</property> <glossary tag="property">property</glossary>.</summary>
  <examples>
    <example>set the inkMode of graphic "Inversion" to reverse</example>
  </examples>
  <description>
    <p>Use the <b>reverse</b> <glossary tag="keyword">keyword</glossary> to invert the color under an <glossary tag="object">object</glossary>.</p><p/><p><b>Comments:</b></p><p>The <b>ink</b> <glossary tag="property">property</glossary> determines how an <glossary tag="object">object's</glossary> colors combine with the colors of the <property tag="pixels">pixels</property> underneath the <glossary tag="object">object</glossary> to determine how the <glossary tag="object">object's</glossary> color is displayed. When the <b>reverse</b> mode is used, each component of the color underneath the <glossary tag="object">object</glossary>--red, green, and blue--is inverted, and the inverse is used for the displayed color.</p><p/><p>If the color is expressed as three integers between zero and 255--one for each of red, green, and blue--then the inverse of each component is equal to 255 minus the component's value. The color of the object itself does not affect the final color.</p><p/><p>For example, suppose an object's color is<code> 90,70,</code>250, and the color of a pixel under the object is<code> 60,250,100</code>. If the <b>reverse</b> mode is used, the <glossary tag="pixel">pixel's</glossary> displayed color is<code> 195,5,155</code><a/>. (255 minus 60 is 195, 255 minus 250 is 5, and 255 minus 100 is 155.)</p>
  </description>
</doc>