1 | import java.awt.geom.*; |
2 | |
3 | static void fillRoundedBox(Graphics2D g, int x, int y, int w, int h, int roundness, Color color) { |
4 | g.setColor(color); |
5 | g.fill(new RoundRectangle2D.Double(x, y, w, h, roundness, roundness)); |
6 | } |
Began life as a copy of #1009141
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: | #1015004 |
Snippet name: | fillRoundedBox |
Eternal ID of this version: | #1015004/5 |
Text MD5: | b3c24cc0c458edf48d5067047f34e64e |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-06 23:13:18 |
Source code size: | 224 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 359 / 407 |
Version history: | 4 change(s) |
Referenced in: | [show references] |