Libraryless. Click here for Pure Java version (10158L/56K).
svoid markPoint(Graphics2D etc g, Pt etc p, Color color default Color.red, int size default 3) { fillRect(g, color, p.x-size/2, p.y-size/2, size, size); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035964 |
Snippet name: | markPoint |
Eternal ID of this version: | #1035964/4 |
Text MD5: | c5518689a2fd72314efeb8f525dd2f20 |
Transpilation MD5: | 672486d0ad6eb7bd35b474e45d2fa15f |
Author: | stefan |
Category: | javax / gazelle 22 |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-01-23 15:17:44 |
Source code size: | 158 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 138 / 211 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035965 - drawSquareAround |