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
