javafx如何使用Polygon

时间:2024-10-13 03:55:37

1、idea新建一个javafx项目

javafx如何使用Polygon

2、运行并启动程序

javafx如何使用Polygon

3、在布局中添加Polygon

javafx如何使用Polygon

4、定位到项目主程序

javafx如何使用Polygon

5、添加代码,如下图所示

javafx如何使用Polygon

6、重新运行程序,查看效果

javafx如何使用Polygon
© 手抄报圈