Libraryless. Click here for Pure Java version (5880L/33K).
static ScreenShotMeta shootScreenWithMeta(Rect bounds) { var timeRange = new TimestampRange().start(tsNow()); ScreenShotMeta result = new(timeRange, bounds, shootScreen2(bounds)); timeRange.end(tsNow()); result.image = cloneBufferedImageWithMetaSrc(result, result.image); ret result; }
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: | 178 / 246 |
Version history: | 4 change(s) |
Referenced in: | [show references] |