开发者

Creating a method for defining a area

开发者 https://www.devze.com 2023-02-18 00:13 出处:网络
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 a

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

精彩评论

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