Hi !
I’m trying to take a screenshot of a DirectFrame.
How can I do that?
Thanks!
Hi !
I’m trying to take a screenshot of a DirectFrame.
How can I do that?
Thanks!
Of just a DirectFrame? I don’t think you can, directly. You can make a DisplayRegion with the dimensions you’d like, and then call getScreenshot() on that, which will make a screenshot of that region of the window. (Anything that’s in front will also be included.)
Exactly what I was looking for, thank you