mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Removed rectangle example from co-ordinate system documentation
This commit is contained in:
parent
599979caae
commit
b39c807dde
|
@ -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).
|
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, (x1, y1, x2, y2), with the upper left corner given
|
||||||
example, a rectangle covering all of an 800x600 pixel image is written as (0,
|
first.
|
||||||
0, 800, 600).
|
|
||||||
|
|
||||||
Palette
|
Palette
|
||||||
-------
|
-------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user