sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08017
Re: [Question #184255]: How to draw a circle or some shape using sikuli?
Question #184255 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184255
Status: Open => Answered
RaiMan proposed the following answer:
m = find("some-image.png") # get the match Region
a = Region(m).nearby(10) # leave a margin of 10 pixel around
a.highlight(2) # shows a red frame for 2 seconds
you might even use
a.highlight() # switches frame on
# do something else, while frame stays present
a.highlight() # switches frame off again
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.