Get the ICC color profile data for this screen. Currently supported on macOS and Windows. Returns null on other platforms. @return ICC profile data as byte array, or null if not available
()
| 40 | * @return ICC profile data as byte array, or null if not available |
| 41 | */ |
| 42 | @Nullable |
| 43 | public byte[] getICCProfile() { |
| 44 | if (Platform.CURRENT == Platform.MACOS || Platform.CURRENT == Platform.WINDOWS) { |
| 45 | return _nGetICCProfile(_id); |
| 46 | } |
| 47 | return null; |
| 48 | } |
| 49 | |
| 50 | @ApiStatus.Internal |
| 51 | private static native byte[] _nGetICCProfile(long screenId); |
nothing calls this directly
no test coverage detected