Color

A color struct As of right now, only works with additive RGBA, but may work with other formats later Additive RGBA is where the color is stored as an addition of red, green, and blue Alpha is the transparency of the color

Members

Properties

handle
SDL_Color* handle [@property getter]

Gets the color as an SDL_Color

Variables

a
ubyte a;

Alpha value or transparency for the color

b
ubyte b;

Blue value for the color

g
ubyte g;

Green value for the color

r
ubyte r;

Red value for the color

Meta