Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1015614 // drawText

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (139L/1K).

svoid drawText(Graphics2D g, S text, Pt etc p, Color color) {
  g.setColor(color);
  g.drawString(text, p.x, p.y);
}

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: #1015614
Snippet name: drawText
Eternal ID of this version: #1015614/3
Text MD5: d00ee8b6443488ce83b9205f6a1ac622
Transpilation MD5: 54160c7c0701b0421575c9253e4cd335
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-21 13:12:07
Source code size: 119 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 356 / 451
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1031118 - drawTextWithTopLeftCornerAt