开发者

Creating a method for defining a area

What is the best way to make all the coordinates in an area as on obj开发者_开发技巧ect, I need it for MouseListener so that when I click on an area that area gets repainted?


A Rectangle specifies an area.


java.awt.geom.Area, which conveniently implements the Shape interface, is a good choice.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜