Draw in composite [closed]

折月煮酒 提交于 2019-12-12 06:50:08

问题


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:



来源:https://stackoverflow.com/questions/13976235/draw-in-composite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!