Template Images

macOS can use an image as a template image, which means it automatically adapts to the control it is part of.

For this to work, an image has to be pure black/grayscale and transparent. On a dark control background, the image is automatically drawn white while on a light background it is drawn black.

Last updated