一加仑有多少盎司将详细讨论,我将向您展示一些计算,您可以轻松理解。您的这个网站一直在与我合作,所以现在可以合作了。只有您会支持。注释框对于您,让我们知道您需要知道一加仑有多少盎司。因此,让我们进入今天的主要话题。我认为您需要了解。 这是供参考的代码:

public BufferedImage getScreenShot() {

    BufferedImage screenImage = null;
    try {

        GraphicsEnvironment ge= GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice[] screens=ge.getScreenDevices();
        Rectangle allScreenBounds=new Rectangle();
        for(GraphicsDevice screen: screens)
        {
            Rectangle screenbounds = screen.getDefaultConfiguration().getBounds();
            allScreenBounds.width+=screenbounds.width;
            allScreenBounds.height=Math.max(allScreenBounds.height, screenbounds.height);
        }


        Robot robot = new Robot();
        screenImage = robot.createScreenCapture(allScreenBounds);
    } catch (Exception ex) {
        Logger.getLogger(Screen.class.getName()).log(Level.SEVERE, null, ex);
    }
    return screenImage;
}

什么是加仑?

加仑是英制和美国习惯制体积 通过加仑,我们具有计算的优势,这是 这是我们一生中最重要的部分。.1美国加仑= 128美国流体盎司 和1英制加仑= 160英制流体盎司。符号是“ gal”

1美国流体加仑= 128美国流体盎司 1英制加仑= 160英制液量盎司

从美国加仑到盎司的常见转换

  1. 1/8加仑= 16盎司1/4加仑= 32盎司1/3加仑= 42.66盎司1/2加仑
  2. = 64盎司1加仑= 128盎司
  3. 1.5加仑= 192盎司2加仑= 256盎司
  4. 2.5 gal = 320 fl oz`这是参考代码:

公共BufferedImage getScreenShot(){

BufferedImage screenImage = null;
try {

    GraphicsEnvironment ge= GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice[] screens=ge.getScreenDevices();
    Rectangle allScreenBounds=new Rectangle();
    for(GraphicsDevice screen: screens)
    {
        Rectangle screenbounds = screen.getDefaultConfiguration().getBounds();
        allScreenBounds.width+=screenbounds.width;
        allScreenBounds.height=Math.max(allScreenBounds.height, screenbounds.height);
    }


    Robot robot = new Robot();
    screenImage = robot.createScreenCapture(allScreenBounds);
} catch (Exception ex) {
    Logger.getLogger(Screen.class.getName()).log(Level.SEVERE, null, ex);
}
return screenImage;

}