Closed gamecubate closed 2 years ago
Oh. It looks like that may not have been implemented yet.
api.txt:
...
// Color-related functions
[ ] int ColorToInt(Color color)
[ ] Vector4 ColorNormalize(Color color)
[ ] Vector3 ColorToHSV(Color color)
[ ] Color ColorFromHSV(Vector3 hsv)
[ ] Color GetColor(int hexValue)
[ ] Color Fade(Color color, float alpha)
Will look further into this.
Never mind. I figured it out.
(draw-circle cx cy r [1 0 0 0.5])
Hi. This lib is really good. Thanks for that.
How do I create a color with transparency?
(color-alpha 255 0 0 255)
seems a no-show.