endlesstravel / Love2dCS

C# Wrapper for LÖVE, a 2d game engine
MIT License
166 stars 14 forks source link

ColoredString constructor takes Vector4 as color #95

Closed SantasLair closed 5 years ago

SantasLair commented 5 years ago

How are colors specified by using Vector4? ColoredString constructor is:
ColoredString(string text, Vector4 color)

endlesstravel commented 5 years ago

Vector4(x, y, z, w) for Color(Rf, Gf, Bf, Af) and you can use ColoredString.Create(string text, Color color) as well to create it.