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

7
LINES

< > BotCompany Repo | #1035732 // isFullyTransparent

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

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

sbool isFullyTransparent(int rgba) {
  ret (rgba & 0xFF000000) == 0;
}

sbool isFullyTransparent(Color color) {
  ret color.getAlpha() == 0;
}

Author comment

Began life as a copy of #1035720

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035732
Snippet name: isFullyTransparent
Eternal ID of this version: #1035732/2
Text MD5: 37e4fdb057cce9d4bc9598a922012e89
Transpilation MD5: ddc68a8dccc5a6515a3ea9b5db5f1cfa
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-12 18:34:20
Source code size: 148 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 74 / 100
Version history: 1 change(s)
Referenced in: [show references]