Set window icon from raw image bytes. data must have a length of width height 4, representing per-pixel ARGB data. @param width icon width in pixels @param height icon height in pixels @param data icon image data @return this
(int width, int height, byte[] data)
| 106 | * @return this |
| 107 | */ |
| 108 | @NotNull @Contract("-> this") |
| 109 | public Window setIconData(int width, int height, byte[] data) { |
| 110 | assert _onUIThread() : "Should be run on UI thread"; |
| 111 | assert data.length == width*height*4 : "Incorrect icon data array length"; |
| 112 | _nSetIconData(width, height, data); |
| 113 | return this; |
| 114 | } |
| 115 | |
| 116 | @Override |
| 117 | public Window setTitlebarVisible(boolean value) { |
nothing calls this directly
no test coverage detected