static new ThreadLocal<Bool> imageGraphics_antiAlias; static Graphics2D imageGraphics(BufferedImage img) { ret !isFalse(imageGraphics_antiAlias.get()) ? antiAliasGraphics(img) : createGraphics(img); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006926 |
Snippet name: | imageGraphics - get Graphics2D from BufferedImage, anti-aliasing enabled by default |
Eternal ID of this version: | #1006926/4 |
Text MD5: | 13cc37bdd6278cb51ee30fa5c1d0c593 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-24 01:21:31 |
Source code size: | 207 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 567 / 981 |
Version history: | 3 change(s) |
Referenced in: | [show references] |