Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Draw circle

from PIL import Image, ImageDraw

img = Image.new('RGB', (200, 200))

draw = ImageDraw.Draw(img)
draw.ellipse((50, 50, 150, 150), fill="#F00F4F")
img.show()