Livecode Wiki
Advertisement

Specifies one of the transfer modes that can be used with the ink property.

Examples:

set the ink of button "My Button" to blend

Use the blend keyword to combine an object's color with the colors underneath it.

The ink property determines how an object's colors combine with the colors of the pixels underneath the object to determine how the object's color is displayed. When the blend 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 average of each component 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 blend mode is used, the object's displayed color is 45,55,125.

Whenever you set the blendLevel property of an image, its ink property is automatically set to "blend".

The setting of the blend property has no effect on images in PICT format.

See Also: notSrcCopy Keyword, blendLevel Property

Advertisement