forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharcAngle.xml
More file actions
47 lines (47 loc) · 2.47 KB
/
Copy patharcAngle.xml
File metadata and controls
47 lines (47 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<doc>
<legacy_id>1392</legacy_id>
<name>arcAngle</name>
<type>property</type>
<syntax>
<example>set the arcAngle [of <i>graphic</i>] to <i>angleInDegrees</i></example>
</syntax>
<library></library>
<objects>
<graphic/>
</objects>
<synonyms>
</synonyms>
<classification>
<category>Appearance & Positioning</category>
</classification>
<references>
<property tag="angle">angle Property</property>
<property tag="startAngle">startAngle 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 angle used to draw an arc.</summary>
<examples>
<example>set the arcAngle to myAngle <i>-- affects ovals drawn with the paint tools</i></example>
<example>set the arcAngle of graphic "Over" to theAngle</example>
</examples>
<description>
<p>Use the <b>arcAngle</b> <glossary tag="property">property</glossary> to create an arc shape from an oval <keyword tag="graphic">graphic</keyword>, or to cause the Oval <glossary tag="paint tool">paint tool</glossary> to draw arcs.</p><p/><p><b>Value:</b></p><p>The <b>arcAngle</b> of a <keyword tag="graphic">graphic</keyword> is an <keyword tag="integer">integer</keyword> between zero and 360.</p><p/><p>By default, the <b>arcAngle</b> <glossary tag="property">property</glossary> of a newly created <keyword tag="graphic">graphic</keyword> is 360.</p><p/><p><b>Comments:</b></p><p>By default, ovals display their entire arc from zero to 360, forming a complete oval. Use the <b>startAngle</b> and <b>arcAngle</b> <property tag="properties">properties</property> to specify that only a portion of the oval, forming an arc, should be drawn.</p><p/><p>The <b>arcAngle</b> determines how much of the oval is used to form the arc, from zero (no arc) to 360 (a full oval). For example, if the <i>angleInDegrees</i> is 90, a quarter-oval arc is displayed.</p><p/><p>The global setting of the <b>arcAngle</b> <glossary tag="property">property</glossary> controls the appearance of arcs drawn with the <glossary tag="paint tool">paint tools</glossary>. Once a paint arc is drawn, its appearance cannot be changed by changing the <command tag="global">global</command> <b>arcAngle</b> <glossary tag="property">property</glossary>.</p>
</description>
</doc>