cljfx

https://github.com/cljfx/cljfx
ahungry 2019-05-27T03:51:15.000500Z

Is there a way to add a Canvas using cljfx? it seems tricky, as I have a need to call graphic/draw operations on it?

vlaaad 2019-05-27T05:57:57.000600Z

@m131 There is a :canvas component with a :draw prop which is a function of a canvas, that you can use to draw. No examples yet other than code: https://github.com/cljfx/cljfx/blob/master/src/cljfx/fx/canvas.clj

ahungry 2019-05-27T06:09:14.001Z

thanks, and thanks again for such a great package

vlaaad 2019-05-27T06:09:54.001100Z

😺 you are welcome!

vlaaad 2019-05-27T20:56:29.002Z

By the way, I added an example for using :canvas's :draw prop: https://github.com/cljfx/cljfx/blob/master/examples/e28_canvas.clj

ahungry 2019-05-27T21:02:54.002400Z

Sweet!