64 * resizing should be ignored and must not influence window location through 65 * this mechanism. 66 * 67 * The corresponding correction formulas are: 68 * 69 * {@code x -= xGravity * deltaW} 70 * {@code y -= yGravity * deltaH} 71 * 72 * @param x the new window horizontal position, ignored if xSet is set to 73 * false 74 * @param y the new window vertical position, ignored if ySet is set to 75 * false 76 * @param xSet indicates whether the x parameter is valid 77 * @param ySet indicates whether the y parameter is valid 78 * @param w the new window width, ignored if set to -1 79 * @param h the new window height, ignored if set to -1 80 * @param cw the new window content width, ignored if set to -1 81 * @param ch the new window content height, ignored if set to -1 82 * @param xGravity the xGravity coefficient 83 * @param yGravity the yGravity coefficient 84 */ 85 public void setBounds(float x, float y, boolean xSet, boolean ySet, 86 float w, float h, float cw, float ch, 87 float xGravity, float yGravity); 88 89 public float getUIScale(); 90 public float getRenderScale(); 91 92 public void setIcons(java.util.List icons); 93 94 public void setTitle(String title); 95 96 /** 97 * Set if the stage is visible on screen 98 * 99 * @param visible True if the stage should be visible 100 */ 101 public void setVisible(boolean visible); 102 103 public void setOpacity(float opacity); 104 105 public void setIconified(boolean iconified); 106 107 public void setMaximized(boolean maximized); 108 109 public void setAlwaysOnTop(boolean alwaysOnTop); 110 | 64 * resizing should be ignored and must not influence window location through 65 * this mechanism. 66 * 67 * The corresponding correction formulas are: 68 * 69 * {@code x -= xGravity * deltaW} 70 * {@code y -= yGravity * deltaH} 71 * 72 * @param x the new window horizontal position, ignored if xSet is set to 73 * false 74 * @param y the new window vertical position, ignored if ySet is set to 75 * false 76 * @param xSet indicates whether the x parameter is valid 77 * @param ySet indicates whether the y parameter is valid 78 * @param w the new window width, ignored if set to -1 79 * @param h the new window height, ignored if set to -1 80 * @param cw the new window content width, ignored if set to -1 81 * @param ch the new window content height, ignored if set to -1 82 * @param xGravity the xGravity coefficient 83 * @param yGravity the yGravity coefficient 84 * @param renderScaleX new rendering scale, ignored if < 1 85 * @param renderScaleY new rendering scale, ignored if < 1 86 */ 87 public void setBounds(float x, float y, boolean xSet, boolean ySet, 88 float w, float h, float cw, float ch, 89 float xGravity, float yGravity, 90 float renderScaleX, float renderScaleY); 91 92 public float getPlatformScaleX(); 93 public float getPlatformScaleY(); 94 public float getOutputScaleX(); 95 public float getOutputScaleY(); 96 97 public void setIcons(java.util.List icons); 98 99 public void setTitle(String title); 100 101 /** 102 * Set if the stage is visible on screen 103 * 104 * @param visible True if the stage should be visible 105 */ 106 public void setVisible(boolean visible); 107 108 public void setOpacity(float opacity); 109 110 public void setIconified(boolean iconified); 111 112 public void setMaximized(boolean maximized); 113 114 public void setAlwaysOnTop(boolean alwaysOnTop); 115 |