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