Libraryless. Click here for Pure Java version (2788L/17K).
svoid fillCircle(Graphics2D g, int x, int y, int r, Color color) { g.setColor(color); g.fillOval(x-r, y-r, r*2, r*2); } svoid fillCircle(BufferedImage img, int x, int y, int r, Color color) { fillCircle(imageGraphics(img), x, y, r, color); }
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: | #1014983 |
Snippet name: | fillCircle |
Eternal ID of this version: | #1014983/2 |
Text MD5: | 7ee6e667f362f1976be2eac3ebf3d4a7 |
Transpilation MD5: | 9173d00a546c0a1f46b2355fb15500f9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-07 10:38:51 |
Source code size: | 255 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 348 / 433 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014990 - drawCircle |