1 | static RGBImage randomLetterImage(S letter, S fontName, float fontSize) { |
2 | renderText_withLeading = false; |
3 | renderText_bg.set(toColor(randomColor())); |
4 | renderText_fg.set(toColor(randomColor())); |
5 | ret new RGBImage(renderText(fontName, fontSize, letter)); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014948 |
Snippet name: | randomLetterImage |
Eternal ID of this version: | #1014948/1 |
Text MD5: | 0ac0dff8340abffa5e302a210108d93a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-06 17:56:45 |
Source code size: | 264 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 362 / 393 |
Referenced in: | [show references] |