forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbottomColor.xml
More file actions
58 lines (58 loc) · 6.22 KB
/
Copy pathbottomColor.xml
File metadata and controls
58 lines (58 loc) · 6.22 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
53
54
55
56
57
58
<doc>
<legacy_id>2408</legacy_id>
<name>bottomColor</name>
<type>property</type>
<syntax>
<example>set the bottomColor of <i>object</i> to {empty | <i>colorName </i>| <i>RGBColor</i>}</example>
</syntax>
<library></library>
<objects>
<stack/>
<card/>
<group/>
<field/>
<button/>
<graphic/>
<scrollbar/>
<player/>
<image/>
</objects>
<synonyms>
<synonym>sixthColor</synonym>
</synonyms>
<classification>
<category>Appearance & Positioning</category>
</classification>
<references>
<property tag="topColor">topColor Property</property>
<property tag="threeDHilite">threeDHilite Property</property>
<property tag="hiliteBorder">hiliteBorder Property</property>
<keyword tag="threeDBox">threeDBox Keyword</keyword>
</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 color of a three-D <glossary tag="object">object's</glossary> lowered edge.</summary>
<examples>
<example>set the bottomColor of scrollbar 1 to "purple"</example>
<example>set the bottomColor of field 1 to the topColor of me</example>
</examples>
<description>
<p>Objects whose <b>threeD</b> <glossary tag="property">property</glossary> is set to true appear to stick out of or recede into the screen. Use the <b>bottomColor</b> <glossary tag="property">property</glossary> to specify the color of the shadowed edge of the <glossary tag="object">object</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>bottomColor</b> of an <glossary tag="object">object</glossary> is a <href tag="reference/color_reference.rev">color reference</href>.</p><p/><p>The <i>colorName</i> is any standard color name.</p><p/><p>The <i>RGBColor</i> consists of three comma-separated <glossary tag="integer">integers</glossary> between zero and 255, specifying the level of each of red, green, and blue; or an HTML-style color consisting of a hash mark (#) followed by three <glossary tag="hexadecimal">hexadecimal</glossary> numbers, one for each of red, green, and blue.</p><p/><p>By default, the <b>bottomColor</b> for all <glossary tag="object">objects</glossary> is empty.</p><p/><p><b>Comments:</b></p><p>Setting the <b>bottomColor</b> of an <glossary tag="object">object</glossary> to empty allows the <b>bottomColor</b> of the <glossary tag="object">object's</glossary> <property tag="owner">owner</property> to show through. Use the <keyword tag="effective">effective</keyword> <glossary tag="keyword">keyword</glossary> to find out what color is used for the <glossary tag="object">object</glossary>, even if its own <b>bottomColor</b> is empty.</p><p/><p>If the object's <b>showBorder</b> <glossary tag="property">property</glossary> is false, the <b>bottomColor</b> has no effect.</p><p/><p>The setting of the <b>bottomColor</b> <glossary tag="property">property</glossary> has different effects, depending on the <glossary tag="object type">object type</glossary>:</p><p/><p>* The <b>bottomColor</b> of a <object tag="stack">stack</object> determines the <b>bottomColor</b> of each <glossary tag="object">object</glossary> in the <object tag="stack">stack</object> that does not have its own <b>bottomColor</b>.</p><p/><p>* The <b>bottomColor</b> of a <keyword tag="card">card</keyword> or <command tag="group">group</command> determines the color of the border around the <keyword tag="card">card</keyword> or <command tag="group">group</command>, as well as determining the <b>bottomColor</b> of each <glossary tag="object">object</glossary> in the <keyword tag="card">card</keyword> or <command tag="group">group</command> that does not have its own <b>bottomColor</b>.</p><p/><p>* The <b>bottomColor</b> of a <keyword tag="button">button</keyword>, <keyword tag="player">player</keyword>, <glossary tag="EPS">EPS object</glossary>, or <keyword tag="graphic">graphic</keyword> forms a border on the bottom and right edges of the <glossary tag="object">object</glossary>. If the <glossary tag="object">object's</glossary> <property tag="threeD">threeD</property> <glossary tag="property">property</glossary> is false, the <b>bottomColor</b> has no effect.</p><p/><p>* The <b>bottomColor</b> of a <keyword tag="field">field</keyword> forms a border on the top and left edges of the <keyword tag="field">field</keyword> and (if the <keyword tag="field">field</keyword> is a scrolling <keyword tag="field">field</keyword>) the bottom and right edges of the arrow boxes at the ends of the scrollbar and the top and left edges of the scroll area. The <glossary tag="field">field's</glossary> <b>bottomColor</b> also determines the color of the bottom and right edges of any text in the <keyword tag="field">field</keyword> whose <property tag="textStyle">textStyle</property> is set to "threeDBox". If the <glossary tag="field">field's</glossary> <property tag="threeD">threeD</property> <glossary tag="property">property</glossary> is false, the <keyword tag="field">field</keyword> border is not affected.</p><p/><p>* The <b>bottomColor</b> of a <keyword tag="scrollbar">scrollbar</keyword> forms a border on the bottom and right edges of the arrow boxes at the ends of the <keyword tag="scrollbar">scrollbar</keyword>, and the top and left edges of the scroll area.</p><p/><p>* The <b>bottomColor</b> of an <glossary tag="audio clip">audio clip</glossary> or <glossary tag="video clip">video clip</glossary> has no effect.</p><p/><p>* The <b>bottomColor</b> of an <keyword tag="image">image</keyword> is the sixth color in the <glossary tag="image">image's</glossary> <glossary tag="color palette">color palette</glossary>. (To set the color of the lowered edge of an <glossary tag="image">image's</glossary> border, set the <property tag="bottomColor">bottomColor</property> of the <keyword tag="card">card</keyword>, <object tag="stack">stack</object>, or <command tag="group">group</command> that <glossary tag="owner">owns</glossary> the <keyword tag="image">image</keyword>.)</p><p/><p>If an object's <b>bottomPattern</b> is set, the pattern is shown instead of the color specified by the <b>bottomColor</b>.</p>
</description>
</doc>