简体   繁体   中英

Java.awt.polygon in android

Is there a way that I can use the java.awt.Polygon class in my android app? I have tried importing at the top but I still cannot use Polygon.

Thanks

Download the source code to a version of java.awt.Polygon , refactor it into jonny.Polygon (or whatever), and use it in accordance to the source code license.

This will probably require doing the same thing for many other classes as well (that Polygon depends upon), and eventually you may run into something that you cannot readily convert this way.

Hence, I would recommend that you find some other solution to whatever problem you are trying to solve.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM