Added documentation for negative index pixel access [ci skip]

This commit is contained in:
Andrew Murray 2018-11-05 21:30:04 +11:00
parent 1ace2f47ff
commit e805401403
2 changed files with 14 additions and 0 deletions

View File

@ -28,6 +28,13 @@ Results in the following::
(23, 24, 68)
(0, 0, 0)
Access using negative indexes is also possible.
.. code-block:: python
px[-1,-1] = (0,0,0)
print (px[-1,-1])
:py:class:`PixelAccess` Class

View File

@ -29,6 +29,13 @@ Results in the following::
(23, 24, 68)
(0, 0, 0)
Access using negative indexes is also possible.
.. code-block:: python
px[-1,-1] = (0,0,0)
print (px[-1,-1])
:py:class:`PyAccess` Class