mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-11 07:44:46 +03:00
Improved coordinate system documentation
This commit is contained in:
parent
6fb2312a2e
commit
14f5f77841
|
@ -96,8 +96,8 @@ 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
|
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
|
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,
|
example, a rectangle covering all of a 2x2 pixel image is written as (0, 0, 1,
|
||||||
0, 800, 600).
|
1).
|
||||||
|
|
||||||
Palette
|
Palette
|
||||||
-------
|
-------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user