Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1032409 // rgbIntFullAlpha

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (52L/1K).

static int rgbIntFullAlpha(int r, int g, int b) {
  ret (clamp(r, 0, 255) << 16) | (clamp(g, 0, 255) << 8) | clamp(b, 0, 255) | fullAlphaMask();
}

Author comment

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: 159 / 241
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)