Name: clear

Type: keyword

Syntax: clear

Summary: Specifies one of the <transfer mode|transfer modes> that can be used with the <ink> <property>.

Introduced: 1.0

OS: windows,linux,ios,android

Platforms: desktop,server,web,mobile

Example:
set the ink of graphic "Overlay" to clear

Description:
Use the <clear> <keyword> to turn an <object> black.

The <ink> <property> determines how an <object|object's> colors combine with the colors of the <pixels> underneath the <object> to determine how the <object|object's> color is displayed.

When the <clear> mode is used, each component of the color underneath the <object> --red, green, and blue--is lowered to be equal to black.

The <clear> mode can be used only on <Unix> and <Windows|Windows systems>. On <Mac OS|Mac OS systems>, <object|objects> whose <ink> <property> is set to this mode appear as though their <ink> were set to <reverse>.

References: reverse (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
