From 2d3941095727f6949a9bb9cda35e2cb81ef9f941 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 29 Sep 2018 16:52:07 +0300 Subject: [PATCH] Note parameter is optional --- docs/releasenotes/5.3.0.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/releasenotes/5.3.0.rst b/docs/releasenotes/5.3.0.rst index 0bdfe2995..0e484e7bc 100644 --- a/docs/releasenotes/5.3.0.rst +++ b/docs/releasenotes/5.3.0.rst @@ -7,7 +7,7 @@ API Additions Add line width parameter to rectangle and ellipse-based shapes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -A line ``width`` parameter has been added to ``ImageDraw.Draw.arc``, +An optional line ``width`` parameter has been added to ``ImageDraw.Draw.arc``, ``chord``, ``ellipse``, ``pieslice`` and ``rectangle``. Curved joints for line sequences @@ -28,7 +28,6 @@ Now it supports three-color mapping with the optional ``mid`` parameter, and the positions for all three color arguments can each be optionally specified (``blackpoint``, ``whitepoint`` and ``midpoint``). For example, with all optional arguments:: - ImageOps.colorize(im, black=(32, 37, 79), white='white', mid=(59, 101, 175), blackpoint=15, whitepoint=240, midpoint=100)