Page 49      All Pages  All Books
The ImagePath Module
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.
Functions
Path
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, ... ].

Page 49      All Pages  All Books