1 | sbool pointOutsideOfImage(BufferedImage img, Pt p) { |
2 | ret p.x < 0 || p.y < 0 || p.x >= img.getWidth() || p.y >= img.getHeight(); |
3 | } |
Began life as a copy of #1018719
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018720 |
Snippet name: | pointOutsideOfImage |
Eternal ID of this version: | #1018720/1 |
Text MD5: | 4a575b37fc56c98d2f2d6f8fcfd9b288 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-11 21:10:48 |
Source code size: | 133 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 265 / 317 |
Referenced in: | [show references] |