Hi,

I'm trying to create a java.awt.Color class instance from within
Clojure, using this constructor:

Color(ColorSpace cspace, float[] components, float alpha)

But always end up with a "No matching ctor found for class
java.awt.Color" exception.

I can create the ColorSpace instance as I expected, but I think I'm
missing something with the rest of the Color constructor.  I've tried
changing the components to a vector of floats or a Java array of
floats with no luck.

This is with Clojure 1.2 and the Java Platform SE 6 AWT classes.

Any advice much appreciated.

Stu

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to