static RGBImage randomLetterImage(S letter, S fontName, float fontSize) { renderText_withLeading = false; renderText_bg.set(toColor(randomColor())); renderText_fg.set(toColor(randomColor())); ret new RGBImage(renderText(fontName, fontSize, letter)); }
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: | 363 / 394 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |