Libraryless. Click here for Pure Java version (152L/1K).
static int getIntColorWithoutAlphaOrMinus1(BufferedImage img, int x, int y) { ret img == null || !inImage(x, y, img) ? -1 : getIntColorWithoutAlpha(img, x, y); }
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: | 128 / 187 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |