1 | static bool rgbAllPixelsInAreaEqualToOneOf(RGBImage img, int x1, int y1, int x2, int y2, int... color) {
|
2 | for (int c : color) |
3 | if (rgbAllPixelsInAreaEqualTo(img, x1, y1, x2, y2, c)) true; |
4 | false; |
5 | } |
Began life as a copy of #1006205
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015533 |
| Snippet name: | rgbAllPixelsInAreaEqualToOneOf |
| Eternal ID of this version: | #1015533/1 |
| Text MD5: | 4be982158aba780bdb1ffb889d37d328 |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-16 11:58:08 |
| Source code size: | 206 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 469 / 523 |
| Referenced in: | [show references] |