mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Merge pull request #7169 from radarhere/coordinate
This commit is contained in:
commit
a6efb36eda
|
@ -95,9 +95,8 @@ in the upper left corner. Note that the coordinates refer to the implied pixel
|
|||
corners; the centre of a pixel addressed as (0, 0) actually lies at (0.5, 0.5).
|
||||
|
||||
Coordinates are usually passed to the library as 2-tuples (x, y). Rectangles
|
||||
are represented as 4-tuples, with the upper left corner given first. For
|
||||
example, a rectangle covering all of an 800x600 pixel image is written as (0,
|
||||
0, 800, 600).
|
||||
are represented as 4-tuples, (x1, y1, x2, y2), with the upper left corner given
|
||||
first.
|
||||
|
||||
Palette
|
||||
-------
|
||||
|
|
Loading…
Reference in New Issue
Block a user