From 7a75e09fe1f192b112add00de409063e2516e436 Mon Sep 17 00:00:00 2001 From: Tommy C Date: Sat, 5 Sep 2020 20:03:06 +0100 Subject: [PATCH] Add `ImageDraw.regular_polygon` to release notes [skip ci] --- docs/releasenotes/8.0.0.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/releasenotes/8.0.0.rst b/docs/releasenotes/8.0.0.rst index 991699727..7e42913fd 100644 --- a/docs/releasenotes/8.0.0.rst +++ b/docs/releasenotes/8.0.0.rst @@ -78,6 +78,14 @@ high ends. Now, it can also be a tuple ``(low, high)``. +ImageDraw.regular_polygon +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +A new method ``regular_polygon``, draws a regular polygon of ``n_sides``, inscribed in a ``bounding_circle``. + +For example ``ImageDraw.regular_polygon(((100, 100), 50), 5)`` +draws a pentagon centered at the point ``(100, 100)`` with a polygon radius of ``50``. + Security ========