ShaderMask
Overview
Lays a gradient mask over the child widget to color it. Use it to paint text with a gradient, for example.
Properties
| Property | Description | Values | Default |
|---|---|---|---|
blendMode | Sets how the gradient from the gradient property is composited (color-blended) with the child widget. | clear, src, dst, srcOver, dstOver, srcIn, dstIn, srcOut, dstOut, srcATop, dstATop, xor, plus, modulate, screen, overlay, darken, lighten, colorDodge, colorBurn, hardLight, softLight, difference, exclusion, multiply, hue, saturation, color, luminosity | modulate |
gradient | Turns this gradient into a mask the size of the child widget's area and colors the widget with it. | Gradient | Not set |