Libraryless. Click here for Pure Java version (5880L/33K).
1 | static ScreenShotMeta shootScreenWithMeta(Rect bounds) { |
2 | var timeRange = new TimestampRange().start(tsNow()); |
3 | ScreenShotMeta result = new(timeRange, bounds, shootScreen2(bounds)); |
4 | timeRange.end(tsNow()); |
5 | result.image = cloneBufferedImageWithMetaSrc(result, result.image); |
6 | ret result; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034009 |
Snippet name: | shootScreenWithMeta |
Eternal ID of this version: | #1034009/5 |
Text MD5: | 1e5ab1bf90af761dfacece4d49eb8abb |
Transpilation MD5: | 90efebf8b485460b415d951de628cb6a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-17 00:10:48 |
Source code size: | 301 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 179 / 249 |
Version history: | 4 change(s) |
Referenced in: | [show references] |