Provides a collection of gradient image types for use by a Photon microGUI application.
More...
#include <Image.h>
Provides a collection of gradient image types for use by a Photon microGUI application.
- See also
-
◆ eGradientImageType
Enumerator |
---|
ImageGradientByte | This format uses 1 byte per pixel. The colors are algorithmically generated as a gradient between the fill color and the text color. A pixel value of 0 produces the fill color, a pixel value of 255 produces the text color, and a pixel value of 128 produces an even blend of the two.
|
ImageGradientNibble | This format packs 2 pixels per byte, allowing up to 16 levels. The first pixel is in the upper half of the byte and the second pixel is in the lower half. The colors are algorithmically generated as a gradient between the fill color and the text color. A pixel value of 0 produces the fill color, a pixel value of 15 produces the text color, and a pixel value of 8 produces an even blend of the two.
|
The documentation for this struct was generated from the following file: