Libraryless. Click here for Pure Java version (52L/1K).
1 | static int rgbIntFullAlpha(int r, int g, int b) { |
2 | ret (clamp(r, 0, 255) << 16) | (clamp(g, 0, 255) << 8) | clamp(b, 0, 255) | fullAlphaMask(); |
3 | } |
Began life as a copy of #1025256
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032409 |
Snippet name: | rgbIntFullAlpha |
Eternal ID of this version: | #1032409/1 |
Text MD5: | 9aaf8520449604e980a198a01a544a21 |
Transpilation MD5: | 366800ccd446b56698ffa6337aca513e |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-03 01:45:16 |
Source code size: | 148 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 160 / 242 |
Referenced in: | [show references] |