java中的几何形状 [英] geometric shapes in java

查看:229
本文介绍了java中的几何形状的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法或方法用Java绘制三角形,圆形等几何形状?



[Torsten]删除代码标签[/ Torsten]

解决方案

http://docs.oracle。 com / javase / tutorial / 2d / geometry / primitives.html [ ^ ]



http://docs.oracle.com/javase/tutorial/2d/index.html [ ^ ]



玩得开心。


< blockquote>谢谢你的链接..





你能给我一个画一个矩形的简单代码..

Is there any way or method to draw geometric shapes such as triangle, circle by Java?

[Torsten]removed code tag[/Torsten]

解决方案

http://docs.oracle.com/javase/tutorial/2d/geometry/primitives.html[^]

http://docs.oracle.com/javase/tutorial/2d/index.html[^]

have fun.


thank you for the link ..


could you please give me a simple code that draw the a rectangle ..


这篇关于java中的几何形状的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆