sbool hasAlpha(BufferedImage img) { ret hasTransparency(img); } sbool hasAlpha(Color color) { ret color.getAlpha() != 0xFF; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034530 |
Snippet name: | hasAlpha - synonym of hasTransparency |
Eternal ID of this version: | #1034530/2 |
Text MD5: | 0d7f621014e46abeb75cc7b13bc39498 |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-05 03:17:02 |
Source code size: | 136 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 174 / 196 |
Version history: | 1 change(s) |
Referenced in: | [show references] |