Skip to content

Commit

Permalink
Update README.md (#105)
Browse files Browse the repository at this point in the history
Just a small readme update replacing mention of `setContentRect` with `setContentSize`.
  • Loading branch information
r4zzz4k authored and markusressel committed May 20, 2019
1 parent edfc551 commit 1c5b7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ All pan APIs accept x and y coordinates. These refer to the top-left visible pix
- If using `ZoomLayout`, the coordinate system is that of the inner view
- If using `ZoomImageView`, the coordinate system is that of the drawable intrinsic width and height
- If using `ZoomSurfaceView`, the coordinate system is that of the view dimensions
- If using the engine directly, the coordinate system is that of the rect you passed in `setContentRect`
- If using the engine directly, the coordinate system is that of the rect starting at `(0f, 0f)` and having the size you passed in `setContentSize`

In any case the current scale is not considered, so your system won't change if zoom changes.

Expand Down

0 comments on commit 1c5b7a0

Please sign in to comment.