maskPixmapID | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | image | ||||||
Summary | Specifies the window ID of the X11 pixmap used to mask an image. | ||||||
Introduced | 1.0 | ||||||
OS | linux | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: image, integer Property: pixels, imagePixmapID Function: value Glossary: property, pixmap, external, mask Object: stack, image | ||||||
Description | Use the maskPixmapID property to pass to an external that needs to manipulate the image mask. The maskPixmapID is provided by the operating system and indicates the pixmap used to mask an image. The mask is a 1-bit image map. Pixels in the image that correspond to a value of zero in the mask are transparent to mouse clicks, and pixels corresponding to a value of 1 can receive mouse clicks. If the maskPixmapID is empty, all the pixels in the image can receive mouse clicks (as though the mask consisted of all 1s). This property is not supported on Mac OS and Windows systems. | ||||||
Tags | multimedia |