private Rectangle2D getAbsoluteRect(final Control node)
{
return new Rectangle2D(
node.localToScene(node.getLayoutBounds().getMinX(), node.getLayoutBounds().getMinY()).getX()
+ node.getScene().getWindow().getX(),
node.localToScene(node.getLayoutBounds().getMinX(), node.getLayoutBounds().getMinY()).getY()
+ node.getScene().getWindow().getY(),
node.getWidth(), node.getHeight());
}
DraggableTab.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:MineIDE
作者:
评论列表
文章目录