用于在 Java 中创建 2D 形状的高级 API
我正在寻找可用于创建 的 API 或程序Java 中的形状图形(特别是闭合形状)。类似于在窗户上绘画的工具,但没有颜色等。创建形状后,我将使用它们作为模拟程序的一部分,因此我需要访问实际的 java Shape 对象。
我可以使用Java2D创建自己的工具,但我确信我会浪费时间,因为肯定有一些有用的工具。然而,在谷歌搜索了很长时间之后,我没有运气。任何提示将不胜感激。
I am seeking an API or program which I can use to create Shapes graphically in Java (specifically closed shapes). A tool simalar to paint in windows, but without the colors and such. After the shapes are created, I will be using them as part of a simulation program, so I need to get access to the actual java Shape objects.
I could create my own tool using Java2D, but I am sure I would be wasting my time as there must be some useful tools out there. However, after a long time scowering google, I had no luck. Any tips would be much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一篇文章描述如何执行此操作并附有您可能能够使用的源代码。
Here's an article describing how to do it accompanied with source code that you might be able to use.