forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapStyle.xml
More file actions
86 lines (69 loc) · 2.09 KB
/
Copy pathcapStyle.xml
File metadata and controls
86 lines (69 loc) · 2.09 KB
1
<doc> <legacy_id>3507</legacy_id> <name>capStyle</name> <type>property</type> <syntax> <example>set the capStyle [of graphic] to <i>style</i></example> </syntax> <synonyms> </synonyms> <summary>Specifies how the ends of lines and dashes are drawn.</summary> <examples><example>set the capStyle of graphic "dashedRectangle1" to "round"</example> </examples> <history> <introduced version="3.0">Added.</introduced> <deprecated version=""></deprecated> <removed version=""></removed> <experimental version=""></experimental> <nonexperimental version=""></nonexperimental> </history> <objects> <graphic/> </objects> <platforms> <mac/> <windows/> <linux/> <ios/> <android/> </platforms> <classes> <desktop/> <server/> <web/> <mobile/> </classes> <security> </security> <classification> </classification> <references> <property tag="roundEnds">roundEnds Property</property> <property tag="antialiased">antialiased Property</property> </references> <description> <overview>Set the capStyle property to specify how the ends of lines and dashes are drawn.</overview> <parameters> <parameter> <name>style</name> <description>One of the following values:</description> <options title=""> <option> <item>round</item> <description>Lines are ended by a half-circle centred at the end-point of the line. This is the default.</description> </option> <option> <item>butt</item> <description>No cap is added.</description> </option> <option> <item>square</item> <description>The edge is extended beyond the end-point by half the line width.</description> </option> </options> </parameter> </parameters> <value>The <b>capStyle</b> property returns one of "butt", "square" or "round".</value> <comments>Setting the <b>capStyle</b> property changes the appearance of line and dash ends for graphic objects.<p></p><p></p><note>This only affects polygon, freehand curve and line graphics which have their antialiased set to true.</note></comments> </description></doc>