1 | svoid overlaySelectionsOnImageSurface(final ImageSurface is, final L<Rect> rects) { |
2 | if (is == null) ret; |
3 | is.overlay = voidfunc(Graphics2D g) { |
4 | for (Rect r : rects) |
5 | is.drawSelectionRect(g, r.getRectangle(), Color.blue, Color.white); |
6 | }; |
7 | is.repaint(); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018875 |
Snippet name: | overlaySelectionsOnImageSurface |
Eternal ID of this version: | #1018875/2 |
Text MD5: | 1d5b19dc6514e08cf128f659f7043ac3 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-14 22:34:17 |
Source code size: | 275 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 335 / 390 |
Version history: | 1 change(s) |
Referenced in: | [show references] |