diff --git a/README.md b/README.md index caacd07..55692d0 100644 --- a/README.md +++ b/README.md @@ -2750,13 +2750,13 @@ img.putdata([(add_noise(h), s, v) for h, s, v in img.getdata()]) img.convert('RGB').save('test.png') ``` -### Drawing +### Image Draw ```python from PIL import ImageDraw + = ImageDraw.Draw() ``` ```python - = ImageDraw.Draw() .point((x, y), fill=None) .line((x1, y1, x2, y2 [, ...]), fill=None, width=0, joint=None) .arc((x1, y1, x2, y2), from_deg, to_deg, fill=None, width=0) diff --git a/index.html b/index.html index ba80b5f..7d1efc0 100644 --- a/index.html +++ b/index.html @@ -2373,11 +2373,11 @@ img.putdata([(add_noise(h), s, v) for h, s, v img.convert('RGB').save('test.png') -

Drawing

from PIL import ImageDraw
+

Image Draw

from PIL import ImageDraw
+<ImageDraw> = ImageDraw.Draw(<Image>)
 
-
<ImageDraw> = ImageDraw.Draw(<Image>)
-<ImageDraw>.point((x, y), fill=None)
+
<ImageDraw>.point((x, y), fill=None)
 <ImageDraw>.line((x1, y1, x2, y2 [, ...]), fill=None, width=0, joint=None) 
 <ImageDraw>.arc((x1, y1, x2, y2), from_deg, to_deg, fill=None, width=0)
 <ImageDraw>.rectangle((x1, y1, x2, y2), fill=None, outline=None, width=0)