pythonware.com ::: library ::: Python Imaging Library Handbook (2003 Edition) |
The ImagePath module is used to store and manipulate 2-dimensional vector data. Path objects can be passed to the methods in the ImageDraw module.
ImagePath.Path(coordinates) => Path instance
Creates a path object. The coordinate list can be any sequence object containing either 2-tuples [ (x, y), ... ] or numeric values [ x, y, ... ].