← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #210421]: create a new region only with integers?

 

Question #210421 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/210421

RaiMan posted a new comment:
BTW: a Region object always is only a rectangle area on the screen:
top left = (x,y)
dimension = w x h

reg  = Region(x, y, w, h)

The IDE (I do not really like this gimmick) replaces a Region(x,y,w,h), that contains plain numbers for ALL values with a symbolic thumbnail (reddish rectangle denoting position and size on the screen).
Might be irritating for a new bee (that might not yet have read through all the docs). Hover the thumbnail and you see the Region() formula.

Already using e.g. Region(1+0, 1, 100, 100) prevents the generation of
the thumbnail.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.