<doc>
  <legacy_id>1197</legacy_id>
  <name>lineSize</name>
  <type>property</type>
  <syntax>
    <example>set the lineSize [of <i>graphic</i>] to <i>widthInPixels</i></example>
  </syntax>
  <library></library>
  <objects>
    <graphic/>
  </objects>
  <synonyms>
    <synonym>penHeight</synonym>
    <synonym>penWidth</synonym>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
    <category>Developing with LiveCode</category>
  </classification>
  <references>
    <command tag="choose">choose Command</command>
    <property tag="roundEnds">roundEnds Property</property>
    <property tag="multiple">multiple Property</property>
    <property tag="arrowSize">arrowSize Property</property>
    <property tag="markerLineSize">markerLineSize Property</property>
    <property tag="brushColor">brushColor 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 thickness of lines and the borders of shapes drawn with the <glossary tag="paint tool">paint tools</glossary>.</summary>
  <examples>
    <example>set the lineSize to 3 <code><i>-- 3-pixels lines will be used in paint tools</i></code></example>
    <example>set the lineSize of graphic "Rectangular Border" to 9</example>
  </examples>
  <description>
    <p>Use the <b>lineSize</b> <glossary tag="property">property</glossary> to set the thickness of the line used for line, curve, and <keyword tag="polygon">polygon</keyword> shapes, and the outline used with the oval, rectangle, and roundRect shapes.</p><p/><p><b>Value:</b></p><p>The <b>lineSize</b> of a <keyword tag="graphic">graphic</keyword> is an <keyword tag="integer">integer</keyword> between zero and <i>32767.</i></p><p/><p>By default, the <b>lineSize</b> of newly created <glossary tag="graphic">graphics</glossary> is set to 1.</p><p/><p><b>Comments:</b></p><p>If the <b>lineSize</b> <glossary tag="property">property</glossary> is set to zero, the lines in the <keyword tag="graphic">graphic</keyword> disappear.</p><p/><p>The global setting of the <b>lineSize</b> <glossary tag="property">property</glossary> <glossary tag="control">controls</glossary> the <glossary tag="appearance">appearance</glossary> of shapes drawn with the <glossary tag="paint tool">paint tools</glossary>. Once a paint shape is drawn, its <glossary tag="appearance">appearance</glossary> cannot be changed by changing the <command tag="global">global</command> <b>lineSize</b> <glossary tag="property">property</glossary>.</p><p/><p><code/><img src="202650"/> <b>Caution!</b><code/> Setting the <b>lineSize</b> of a <keyword tag="graphic">graphic</keyword> to a value greater than the height or width of the <glossary tag="stack window">stack window</glossary> may cause problems on <glossary tag="Unix">Unix systems</glossary>, and looks strange on any <function tag="platform">platform</function>.</p>
  </description>
</doc>