darkxor Posted April 14, 2016 Share Posted April 14, 2016 Is there API function to make screenshot? Or any code snippet that does this functionality? Thanks, darkxor. Quote Link to comment Share on other sites More sharing options...
GaetanoH Posted April 14, 2016 Share Posted April 14, 2016 Check the Utilities Class. It has takeScreenshot(); method! 1 Quote Link to comment Share on other sites More sharing options...
darkxor Posted April 14, 2016 Author Share Posted April 14, 2016 Ok thanks! 1 Quote Link to comment Share on other sites More sharing options...
FrostBug Posted April 14, 2016 Share Posted April 14, 2016 If you want paint etc. on the image, pass the image graphics thru your onPaint method once 1 Quote Link to comment Share on other sites More sharing options...
GaetanoH Posted April 16, 2016 Share Posted April 16, 2016 If you want paint etc. on the image, pass the image graphics thru your onPaint method onceCan you explain? Quote Link to comment Share on other sites More sharing options...
FrostBug Posted April 16, 2016 Share Posted April 16, 2016 Can you explain? 1. Grab the canvas buffered image (Available in ColorPicker and WrappedCanvas) 2. Create a Graphics object from the buffered image 3. Pass the graphics object to the onPaint method of your script 4. Save the image Something like that 1 Quote Link to comment Share on other sites More sharing options...
GaetanoH Posted April 16, 2016 Share Posted April 16, 2016 1. Grab the canvas buffered image (Available in ColorPicker and WrappedCanvas) 2. Create a Graphics object from the buffered image 3. Pass the graphics object to the onPaint method of your script 4. Save the image Something like that Thank you very much for the explanation! Quote Link to comment Share on other sites More sharing options...