Add docstrings to core-graphics

This commit is contained in:
oakes
2014-01-20 00:01:30 -05:00
parent 61b193e913
commit 24869fce4e
4 changed files with 134 additions and 33 deletions

View File

@@ -17,7 +17,10 @@
(defmacro color
"Returns a [Color](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/Color.html)
object"
(color :white)
(color 1 1 1 1)
"
[& args]
`~(if (keyword? (first args))
`(Color. ^Color (u/static-field-upper :graphics :Color ~(first args)))