Libraryless. Click here for Pure Java version (9751L/55K).
svoid test_grabbableIntPixels_withTransparency() { var img = transparentImage(2, 1); setPixel(img, 0, 0, Color.black); var gp = grabbableIntPixels_fastOrSlow(img); assertIntArraysEqual(gp.data, 0xFF000000, 0); }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035645 |
| Snippet name: | test_grabbableIntPixels_withTransparency (OK) |
| Eternal ID of this version: | #1035645/3 |
| Text MD5: | 6ed9f5f0a32d5b9e8429777011ccd232 |
| Transpilation MD5: | fd6dca9adbb47fc9ff6de7d4f177d945 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-06-27 10:40:14 |
| Source code size: | 224 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 351 / 467 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |