Libraryless. Click here for Pure Java version (136L/1K).
1 | sbool inImage(Pt etc p, BufferedImage img) { |
2 | ret p != null && img != null && p.x >= 0 && p.y >= 0 |
3 | && p.x < img.getWidth() && p.y < img.getHeight(); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034902 |
Snippet name: | inImage |
Eternal ID of this version: | #1034902/2 |
Text MD5: | 83d67d803b45bdfc32fc468c4daf61e9 |
Transpilation MD5: | 214a7c309d7bdad51d0bfdd68b79bdad |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-14 20:49:57 |
Source code size: | 158 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 126 / 181 |
Version history: | 1 change(s) |
Referenced in: | [show references] |