1 | sbool hasAlpha(BufferedImage img) { |
2 | ret hasTransparency(img); |
3 | } |
4 | |
5 | sbool hasAlpha(Color color) { |
6 | ret color.getAlpha() != 0xFF; |
7 | } |
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: | 176 / 198 |
Version history: | 1 change(s) |
Referenced in: | [show references] |