<doc>
  <legacy_id>1902</legacy_id>
  <name>graphic</name>
  <type>object</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
    <synonym>grc</synonym>
  </synonyms>
  <classification>
    <category>Objects  Messages</category>
  </classification>
  <references>
    <object tag="image">image Object</object>
    <property tag="editMode">editMode 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>A <keyword tag="control">control</keyword> that is a resizeable geometric shape.</summary>
  <examples>
    <example>set the backgroundPattern of graphic "High Energy" to 3012</example>
    <example>move graphic "Arrow" to 45,104 in 3 seconds</example>
  </examples>
  <description>
    <p>Use the <b>graphic</b> <glossary tag="object type">object type</glossary> to create a geometric shape, a straight or broken line, an arrow, or other shape.</p><p/><p><b>Comments:</b></p><p>Graphics can be circles, ovals, arcs, squares, rectangles, regular polygons with any number of sides, irregular polygons (closed or open), lines (jagged or straight), or curves (smooth or broken). You specify a graphic's basic shape by setting its <b>style</b> <glossary tag="property">property</glossary>, and details of different basic shapes with the <property tag="points">points</property>, <property tag="arcAngle">arcAngle</property>, <property tag="startAngle">startAngle</property>, <property tag="angle">angle</property>, and <property tag="polySides">polySides</property> <property tag="properties">properties</property>.</p><p/><p>Unlike an image, a graphic can be resized without losing detail or becoming "jagged".</p><p>A graphic is contained in a card, group, or background. Graphics cannot contain other objects.</p><p>The graphic object has a number of properties and messages associated with it. To see a list of messages that can be sent to a graphic as a result of user actions or internal LiveCode events, open the "Dictionary" page of the main Documentation window, ensure that the graphic column is visible and use sort and filter to bring the relevant entries to the top</p>
  </description>
</doc>