src/main/java/org/openjfx/core/ImageUtil.java
public static ImageView configImageView(ImageView imageView, int imageHeight, int imageWidth) {
        imageView.setPreserveRatio(true);
        imageView.setFitHeight(imageHeight);
        imageView.setFitWidth(imageWidth);
        imageView.setSmooth(true);
        return imageView;
    }
/**
     * Config Image view with spec
     *
     * @param imageView
     * @param imageHeight
     * @param imageWidth
     * @return
     */
Config Image view with spec
@param imageView
@param imageHeight
@param imageWidth
@return
Config Image view with spec @param imageView @param imageHeight @param imageWidth @return
public static ImageView configImageView(ImageView imageView, int imageHeight, int imageWidth) {
        imageView.setPreserveRatio(true);
        imageView.setFitHeight(imageHeight);
        imageView.setFitWidth(imageWidth);
        imageView.setSmooth(true);
        return imageView;
    }
public static ImageView configImageView ( ImageView imageView , int imageHeight , int imageWidth ) { imageView . setPreserveRatio ( true ) ; imageView . setFitHeight ( imageHeight ) ; imageView . setFitWidth ( imageWidth ) ; imageView . setSmooth ( true ) ; return imageView ; }
Config Image view with spec
 @param imageView
 @param imageHeight
 @param imageWidth
 @return
Config Image view with spec @param imageView @param imageHeight @param imageWidth @return