tintProperty

open override val tintProperty: ColorProperty

When we draw, every pixel is multiplied by this tint color. The default tint is fully-opaque white (1,1,1,1), therefore, the final image doesn't change color (or opacity).

However, if we change the tint's opacity to 0.5, then the final image will be semi-transparent. This is the most common use of tint - to fade in/out.

Using a tint where the red, green or blue values are not 1 is less often used. If we have an appearance of a white circle, and apply a blue tint, the result is a blue circle. However, if we start with a green circle, and apply a blue tint, we will see a BLACK circle. The calculation is : green (0, 1, 0, 1) * blue (0, 0, 1, 1) = black (0, 0, 0, 1). Therefore, only apply colored tints to greyscale images (unless you want weird results).

Suppose you have two teams of people, the blue-coats and the red coats. Create Poses, but exclude the coats. Now create another set of Poses containing just the coats as greyscale images. You can then give each person a hat (see Actor.children) which is tinted blue or red.