(String baseURL, boolean animated, byte[] data)
| 130 | /// |
| 131 | /// - `IOException`: if resource lookup fail SVG is unsupported |
| 132 | public static Image createSVG(String baseURL, boolean animated, byte[] data) throws IOException { |
| 133 | Image i = new Image(Display.impl.createSVGImage(baseURL, data)); |
| 134 | i.animated = animated; |
| 135 | i.svgBaseURL = baseURL; |
| 136 | i.svgData = data; |
| 137 | return i; |
| 138 | } |
| 139 | |
| 140 | /// Creates an indexed image with byte data this method may return a native indexed image rather than |
| 141 | /// an instance of the IndexedImage class |
no test coverage detected