seesaw: drawing text

97 views
Skip to first unread message

Christopher Howard

unread,
Jun 3, 2014, 2:56:35 PM6/3/14
to clojure
Hi. In seesaw, how do you draw text to a graphics 2d object? I see in
seesaw.graphics how to draw circles and lines and such, but want to
draw a line of text. (I'm drawing on a canvas.)

Dave Ray

unread,
Jun 3, 2014, 4:20:17 PM6/3/14
to clo...@googlegroups.com
paint1 uses the .drawString method directly. paint2 uses string-shape for the same effect.

Hope this helps,

Dave



--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages