本文整理了Java中javafx.scene.image.ImageView.getFitHeight()
方法的一些代码示例,展示了ImageView.getFitHeight()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ImageView.getFitHeight()
方法的具体详情如下:
包路径:javafx.scene.image.ImageView
类名称:ImageView
方法名:getFitHeight
暂无
代码示例来源:origin: stackoverflow.com
imageView.getFitWidth(), imageView.getFitHeight()
);
clip.setArcWidth(20);
代码示例来源:origin: net.sf.dcutils/dcutils
public double getHeight() {
return this.sprite.getFitHeight();
} // END getHeight
代码示例来源:origin: stackoverflow.com
imageView.getFitWidth(), imageView.getFitHeight()
);
clip.setArcWidth(20);
代码示例来源:origin: com.bitplan.radolan/com.bitplan.radolan
/**
* show the sizes of stage, scene, and the given other nodes
*
* @param region
* - the regions to show
*/
public void showSizes(Region... regions) {
System.out.println("Sizes: ");
ObservableList<Screen> screens = Screen.getScreensForRectangle(stage.getX(),
stage.getY(), stage.getWidth(), stage.getHeight());
for (Screen screen : screens) {
Rectangle2D s = screen.getVisualBounds();
showSize(screen, s.getWidth(), s.getHeight());
}
showSize(stage, stage.getWidth(), stage.getHeight());
showSize(getScene(), getScene().getWidth(), getScene().getHeight());
ImageView imageView = mapView.getImageView();
showSize(imageView, imageView.getFitWidth(), imageView.getFitHeight());
Image image = mapView.getImage();
showSize(image, image.getWidth(), image.getHeight());
for (Region region : regions) {
showSize(region, region.getWidth(), region.getHeight());
}
}
内容来源于网络,如有侵权,请联系作者删除!