Skip to main content

ShaderMask

Overview

Lays a gradient mask over the child widget to color it. Use it to paint text with a gradient, for example.

Properties

PropertyDescriptionValuesDefault
blendModeSets 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, luminositymodulate
gradientTurns this gradient into a mask the size of the child widget's area and colors the widget with it.GradientNot set