Is possible to make a circular Pane in JavaFX?

家住魔仙堡 提交于 2019-12-24 12:05:05

问题


I want to make a circular Pane (AnchorPane) instead of a "traditional" square. Anyone know how I can do that ?

JavaFX.


回答1:


There's already an implementation of a CircularPaneon the JFXtras project.

Have a look at this link for the code.

Download the samples jar to test it:



来源:https://stackoverflow.com/questions/28181436/is-possible-to-make-a-circular-pane-in-javafx

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!