This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathcolorNames.lcdoc
More file actions
52 lines (37 loc) · 1.59 KB
/
colorNames.lcdoc
File metadata and controls
52 lines (37 loc) · 1.59 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: colorNames
Type: function
Syntax: the colorNames
Syntax: colorNames()
Summary:
<return|Returns> a list of the color names you can use in <LiveCode>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
the colorNames
Example:
if field "Color" is not among the lines of the colorNames then beep
Returns:
The <colorNames> function <return|returns> a list of color names, one
per line.
Description:
Use the <colorNames> <property> to check whether a particular color name
can be used to specify <properties> such as <foregroundColor> and
<backgroundColor>.
You can use the color names with the <foregroundColor>, <backgroundColor>,
<focusColor>, <topColor>, <bottomColor>, <hiliteColor>, <borderColor>,
<shadowColor>, <selectionHandleColor>, <accentColor>, <backdrop>,
<brushColor>, and <penColor> <properties>.
References: answer color (command), propertyNames (function),
functionNames (function), property (glossary), LiveCode (glossary),
return (glossary), is a (operator), hiliteColor (property),
shadowColor (property), foregroundColor (property),
linkHiliteColor (property), HTMLText (property), borderColor (property),
penColor (property), focusColor (property), brushColor (property),
properties (property), backdrop (property), bottomColor (property),
backgroundColor (property), accentColor (property), topColor (property),
linkColor (property), selectionHandleColor (property)
Tags: ui
Changes:
In LiveCode 8.1 the Gray1-100 colors were corrected to match the shades
of gray from the [X11 color names](https://en.wikipedia.org/wiki/X11_color_names).