MarappPrashanth / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

Canvas.createImage() prints a debugging toString() to console output #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Canvas canvas = new DesktopCanvas();
canvas.addBox(new DesktopScreenRegion(10,10,10,10));
BufferedImage screenshot = canvas.createImage();

What is the expected output? 
I do not expect a debugging output that look similar to 
DesktopScreenRegion.toString() to be outputted to console

What do you see instead?
When the code hits line3 of the code snippet above, it prints out a line to 
console:
DesktopScreenRegion{screen=org.sikuli.api.robot.desktop.DesktopScreen@1bc4ec8, 
x=0, y=0, width=1920, height=1080, score=0.0}

What version of the product are you using? 
sikuli-api-1.0.2-standalone.jar

On what operating system?
Windows8

Please provide any additional information below.

Original issue reported on code.google.com by caico...@gmail.com on 8 Nov 2013 at 9:29