forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharcAngle.lcdoc
More file actions
53 lines (35 loc) · 1.48 KB
/
Copy patharcAngle.lcdoc
File metadata and controls
53 lines (35 loc) · 1.48 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
48
49
50
51
52
Name: arcAngle
Type: property
Syntax: set the arcAngle [of <graphic>] to <angleInDegrees>
Summary:
Specifies the angle used to draw an arc.
Associations: graphic
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
set the arcAngle to myAngle -- affects ovals drawn with the paint tools
Example:
set the arcAngle of graphic "Over" to theAngle
Value:
The <arcAngle> of a <graphic> is an <integer> between zero and 360.
By default, the <arcAngle> <property> of a newly created <graphic>
is 360.
Description:
Use the <arcAngle> <property> to create an arc shape from an oval
<graphic>, or to cause the Oval <paint tool> to draw arcs.
By default, ovals display their entire arc from zero to 360, forming a
complete oval. Use the <startAngle> and <arcAngle> <properties> to
specify that only a portion of the oval, forming an arc, should be
drawn.
The <arcAngle> 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
*angleInDegrees* is 90, a quarter-oval arc is displayed.
The global setting of the <arcAngle> <property> controls the appearance
of arcs drawn with the <paint tool|paint tools>. Once a paint arc is
drawn, its appearance cannot be changed by changing the <global>
<arcAngle> <property>.
References: global (command), property (glossary), paint tool (glossary),
integer (keyword), graphic (keyword), angle (property),
properties (property), startAngle (property)
Tags: ui