forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathborderPixel.lcdoc
More file actions
51 lines (35 loc) · 1.56 KB
/
Copy pathborderPixel.lcdoc
File metadata and controls
51 lines (35 loc) · 1.56 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
Name: borderPixel
Synonyms: fourthpixel
Type: property
Syntax: set the borderPixel of <object> to <colorNumber>
Summary:
Specifies which entry in the <color table> is used for the color of an
<object|object's> border.
Associations: stack, card, field, button, graphic, scrollbar, player,
image
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
set the borderPixel of group 1 to 200
Value:
The <borderPixel> of an <object(glossary)> is an <integer> between zero
and (the screenColors - 1). It designates an entry in the current color
table. By default, the <borderPixel> for all <object|objects> is empty.
Description:
Use the <borderPixel> <property> to change the border color of an
<object(glossary)> when the <bit depth> of the screen is 8 <bit|bits>
(256 colors) or less.
The <borderPixel> <property> specifies which entry in the <color table>
is used for an <object|object's> border color. It is similar to the
<borderColor> <property>, but is specified as an entry in the current
<color table>, rather than as a <color reference>.
The color table can be set by changing the <colorMap> <property>.
References: screenColors (function), property (glossary),
bit depth (glossary), bit (glossary), color reference (glossary),
color table (glossary), object (glossary), integer (keyword),
bottomPixel (property), focusPixel (property), pixels (property),
backgroundPixel (property), foregroundPixel (property),
hilitePixel (property), shadowPixel (property), colorMap (property),
borderColor (property), topPixel (property)
Tags: ui