Draw in composite [closed]

2019-09-20 17:03发布

I have a Composite called Workspace. In this composite I want to add some graphics object. Each object can be selected, dragged, moved and can have complicated shape (circle, ellipse, polygon,...). I can click at each object to see its properties. What is the best way to implement?

1条回答
疯言疯语
2楼-- · 2019-09-20 17:48

Have a look at Zest. Here is a very good tutorial for using Zest.

As an alternative, there is Draw2d. And again, here is a nice simple example:

enter image description here

查看更多
登录 后发表回答