← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #142168]: Unexpected result of Region.right()

 

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

Petr Fejfar posted a new comment:
> your intention seems to be, to stay with the modified region inside the borders of the old one 
> (the left and top borders are moved, but the right and bottom stay fixed).

No, my intention is to just create a new region extended the old onew in
required direction, e.g.

    extendRegion(-10,0,0,0) will produce region extended in left direction (x=x-10, w=x+10)
    extendRegion(0,0,10,0) will produce region extended in right direction (x=x, w=x+10)
    extendRegion(-10,0,10,0) will produce region extended in both horizontal directions (x=x-10, w=x+20)
    etc...

> You are running the risk to

You are right: but I'm still in evaluation process

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