bottomColor |
Type | property |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | set the bottomColor of <object> to {empty | <colorName> | <RGBColor>}
|
Synonyms | sixthcolor |
Associations | stack, card, field, button, graphic, scrollbar, player, image, group |
Summary | Specifies the color of a three-D object's lowered edge.
|
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example | set the bottomColor of scrollbar 1 to "purple"
set the bottomColor of field 1 to the topColor of me
|
Values | Name | Type | Description |
---|
Value | | The bottomColor of an object is a color reference.
The colorName is any standard color name.
The RGBColor consists of three comma-separated integers
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 hexadecimal numbers, one for each of red, green, and blue.
By default, the bottomColor for all objects is empty.
|
|
Related | Keyword: effective, threeDBox, field, button, scrollbar, graphic, player, card, image
Property: owner, bottomColor, topColor, hiliteBorder, threeDHilite, threeD, textStyle
Command: group
Object: image, field, stack
Glossary: object, property, EPS, audio clip, owner, object type, color palette, keyword, integer, video clip, hexadecimal, color reference
|
Description | Objects whose threeD property is set to true appear to stick out of or
recede into the screen. Use the bottomColor property to specify the
color of the shadowed edge of the object.
Setting the bottomColor of an object to empty allows the
bottomColor of the object's owner to show through. Use the
effective keyword to find out what color is used for the
object, even if its own bottomColor is empty.
If the object's showBorder property is false, the bottomColor has no
effect.
The setting of the bottomColor property has different effects,
depending on the object type:
The bottomColor of a stack determines the bottomColor of each
object in the stack that does not have its own
bottomColor.
The bottomColor of a card or group determines the color of the
border around the card or group, as well as determining the
bottomColor of each object in the card or group that
does not have its own bottomColor.
The bottomColor of a button, player, EPS object, or
graphic forms a border on the bottom and right edges of the
object. If the object's threeD property is
false, the bottomColor has no effect.
The bottomColor of a field forms a border on the top and
left edges of the field and (if the field is a
scrolling field) 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 field's bottomColor also determines
the color of the bottom and right edges of any text in the
field whose textStyle is set to "threeDBox". If the
field's threeD property is false, the
field border is not affected.
The bottomColor of a scrollbar forms a border on 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 bottomColor of an audio clip or video clip has no effect.
The bottomColor of an image is the sixth color in the
image's color palette. (To set the color of the
lowered edge of an image's border, set the
bottomColor of the card, stack, or group that owns the
image.)
If an object's bottomPattern is set, the pattern is shown instead of the
color specified by the bottomColor.
|
Tags | ui |