# The PIL.ImageDraw Module

Draw(im, mode=None) [#]
  im
  mode
getdraw(im=None, hints=None) [#]
  im
  hints
  Returns:
ImageDraw(im, mode=None) (class) [#]

  A simple 2D drawing interface for PIL images.

  For more information about this class, see The ImageDraw Class.

## The ImageDraw Class

ImageDraw(im, mode=None) (class) [#]

  A simple 2D drawing interface for PIL images.

  Application code should use the Draw factory, instead of directly.

__init__(im, mode=None) [#]
  im
  mode
arc(xy, start, end, fill=None) [#]
bitmap(xy, bitmap, fill=None) [#]
chord(xy, start, end, fill=None, outline=None) [#]
ellipse(xy, fill=None, outline=None) [#]
getfont() [#]
line(xy, fill=None, width=0) [#]
pieslice(xy, start, end, fill=None, outline=None) [#]
point(xy, fill=None) [#]
polygon(xy, fill=None, outline=None) [#]
rectangle(xy, fill=None, outline=None) [#]
setfill(onoff) [#]
setfont(font) [#]
setink(ink) [#]
shape(shape, fill=None, outline=None) [#]
text(xy, text, fill=None, font=None, anchor=None) [#]
textsize(text, font=None) [#]