Can you show a bit more of the code you have so we can see what you've tried?

On Sat, Apr 9, 2011 at 3:13 PM, stu <stuart.hungerf...@gmail.com> wrote:
> 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.

-- 
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