Libraryless. Click here for Pure Java version (37L/1K).
1 | sbool isFullyTransparent(int rgba) {
|
2 | ret (rgba & 0xFF000000) == 0; |
3 | } |
4 | |
5 | sbool isFullyTransparent(Color color) {
|
6 | ret color.getAlpha() == 0; |
7 | } |
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: | 402 / 506 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |