ink | ||||||||||
Type | property | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Specifies the kind of transparency an object is drawn with. | |||||||||
Introduced | 1.0 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Keyword: string Glossary: object, property, pixel, background | |||||||||
Description | Use the ink property to specify how the color of each pixel of an object combines with the color of the pixel underneath it to create the final color shown on the screen. The srcCopy mode simply puts the object on top of the background; the background does not show through or affect the final color at all. You can use other transfer modes with the ink property to create special transparent or partially transparent effects, or to invert the colors of an object or the colors underneath the object, or to combine the object's colors with the colors under the object. There are 25 transfer modes: Structural Blends (Porter Duff operators):
Image Processing Blends (SVG/PDF operators):
Bitwise - This ink has been deprecated from version 5.0
The rendered pixels of an object are combined with the corresponding background pixels using the specified ink before the blendLevel is applied.
| |||||||||
Tags | ui |