colorOverlay | |
Type | property |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Associations | field, button, graphic, scrollbar, player, image |
Summary | Specifies the color overlay to use for an object. |
Introduced | 4.0.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, mobile |
Example |
|
Related | Property: innerShadow, innerGlow, dropShadow, outerGlow, blendLevel, ink |
Description | Use the colorOverlay property to overlay a flat color on an object. The colorOverlay is an array style property, each key of the array controls a different colorOverlay parameter that will affect its final appearance. The easiest way to adjust these properties is by using the Graphic Effects card of the property inspector which has full control over each parameter. To control the effect by script use the following properties:
colorOverlay["opacity"] : How opaque the overlay is. The value is between 0 (fully transparent) and 255 (fully opaque). |