forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgraphic.lcdoc
More file actions
41 lines (28 loc) · 1.25 KB
/
Copy pathgraphic.lcdoc
File metadata and controls
41 lines (28 loc) · 1.25 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
Name: graphic
Type: object
Syntax: graphic
Summary: A <control> that is a resizeable geometric shape.
Synonyms: grc
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
set the backgroundPattern of graphic "High Energy" to 3012
Example:
move graphic "Arrow" to 45,104 in 3 seconds
Description:
Use the <graphic> <object type> to create a geometric shape, a straight
or broken line, an arrow, or other shape.
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 style <property>, and details of
different basic shapes with the <points>, <arcAngle>, <startAngle>,
<angle>, and <polySides> <properties>. Unlike an image, a graphic can be
resized without losing detail or becoming "jagged".
A graphic is contained in a card, group, or background. Graphics cannot
contain other objects.
References: startAngle (property), angle (property),
editMode (property), points (property), arcAngle (property),
properties (property), polySides (property), control (keyword),
image (object), property (glossary), object type (glossary)