Skip to content

Commit

Permalink
Document rect tuples in README (fixes #25)
Browse files Browse the repository at this point in the history
  • Loading branch information
msanders committed Nov 1, 2019
1 parent cb8ff23 commit aab6b02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,13 @@ def find_image_example():
find_image_example()
```

It's also possible to do a bounded search by passing a tuple `((x, y), (width,
height))`:

```python
haystack.find_bitmap(needle, rect=((10, 10), (100, 100)))
```

## Projects using AutoPy

- [AutoPyDriverServer](https://github.com/daluu/autopydriverserver), AutoPy
Expand Down

0 comments on commit aab6b02

Please sign in to comment.