forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddMax.lcdoc
More file actions
29 lines (16 loc) · 1.39 KB
/
Copy pathaddMax.lcdoc
File metadata and controls
29 lines (16 loc) · 1.39 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
Name: addMax
Type: keyword
Syntax: addMax
Summary: Specifies one of the <transfer mode|transfer modes> that can be used with the <ink> <property>.
Introduced: 1.0
OS: mac,ios,android
Platforms: desktop,server,web,mobile
Example:
set the ink of button "Click Here" to addMax
Description:
Use the <addMax> <keyword> to "wash out" the area under an <object>.
The <ink> <property> determines how an <object|object's> colors combine with the colors of the <pixels> underneath the <object> to control how the <object|object's> color is displayed. When the <addMax> mode is used, each component of the <object> color--red, green, and blue--is compared with the corresponding component of the color underneath, and the maximum of each is used for the displayed color.
For example, suppose an object's color is 30,70,150, and the color of the pixels under the object is 60,40,100. If the <addMax> mode is used, the <object|object's> displayed color is 60,70,150.
The <addMax> mode can be used only on <Mac OS|Mac OS systems>. On <Unix> and <Windows|Windows systems>, <object|objects> whose <ink> <property> is set to this mode appear as though their <ink> were set to <srcCopy>.
References: srcCopy (keyword), notSrcCopy (keyword), ink (property), pixels (property), object (object), property (glossary), keyword (glossary), Unix (glossary), Windows (glossary), Mac OS (glossary), transfer mode (glossary)
Tags: ui