Libraryless. Click here for Pure Java version (9252L/51K).
svoid drawSquareAround(Graphics2D g, Pt etc p, int radius, Color color) { drawRect(g, p.x-radius, p.y-radius, radius*2+1, radius*2+1, color); }
Began life as a copy of #1035964
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035965 |
Snippet name: | drawSquareAround |
Eternal ID of this version: | #1035965/3 |
Text MD5: | e0590d8fb88c3dce45edebe8e2d56ddf |
Transpilation MD5: | 714880798a47bc8e85237ab2a3dd01f1 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-20 17:04:26 |
Source code size: | 147 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 131 / 194 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |