Libraryless. Click here for Pure Java version (152L/1K).
1 | static int getIntColorWithoutAlphaOrMinus1(BufferedImage img, int x, int y) { |
2 | ret img == null || !inImage(x, y, img) ? -1 : getIntColorWithoutAlpha(img, x, y); |
3 | } |
Began life as a copy of #1034913
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034921 |
Snippet name: | getIntColorWithoutAlphaOrMinus1 - -1 if out of image |
Eternal ID of this version: | #1034921/1 |
Text MD5: | e1ffa7aa2bae88ea95463d024114d1ec |
Transpilation MD5: | 99495f170c2649cbaafad568d95492da |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-15 15:22:09 |
Source code size: | 165 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 127 / 185 |
Referenced in: | [show references] |