Libraryless. Click here for Pure Java version (9751L/55K).
1 | svoid test_grabbableIntPixels_withTransparency() { |
2 | var img = transparentImage(2, 1); |
3 | setPixel(img, 0, 0, Color.black); |
4 | var gp = grabbableIntPixels_fastOrSlow(img); |
5 | assertIntArraysEqual(gp.data, 0xFF000000, 0); |
6 | } |
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: | 136 / 200 |
Version history: | 2 change(s) |
Referenced in: | [show references] |