[Image-SIG] Re: documentation and the arguments one can pass into class methods

Fredrik Lundh fredrik@pythonware.com
Tue, 29 Apr 2003 14:47:55 +0200


"VAN DER HEIJDEN Maarten" <mvanderheijden@fininfo.fr> wrote:

> Lets take as an example the method : ImageDraw.line(xy, options ) The PIL
> user guide doesn't give a list of all the options one can pass.

here's the text for the line method.  note the last paragraph:

    line(xy, options) draws a line between the coordinates in
    the xy list.

    The coordinate list can be any sequence object containing
    either 2-tuples [ (x, y), ... ] or numeric values [ x, y, ... ].
    It should contain at least two coordinates.

    The fill option gives the colour to use for the line.

the 1.1.4 draft handbook contains additional info on option types
(see the sections "concepts" and "options"):

    http://effbot.org/books/imagingbook/imagedraw.htm

</F>