chrisdill / raylib-cs

C# bindings for raylib, a simple and easy-to-use library to learn videogames programming
http://www.raylib.com/
zlib License
783 stars 68 forks source link

Enhancement: Additional Color Constructors #261

Closed nickyMcDonald closed 1 month ago

nickyMcDonald commented 1 month ago

This pull request adds additional constructors for the Color class and documentation for them all.

nickyMcDonald commented 1 month ago

It is also worth noting that if the constructors that set alpha to 255 are implemented: Color.LightGray, Color.Gray, Color.DarkGray… etcetera minus Color.Blank can optionally use the three-parameter constructor as well.

chrisdill commented 1 month ago

Thanks, merged!