mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Add documentation link to release notes
[skip ci]
This commit is contained in:
parent
efb0055645
commit
d49f90444c
|
@ -81,9 +81,9 @@ 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``.
|
||||
A new method :py:meth:`.ImageDraw.regular_polygon`, draws a regular polygon of ``n_sides``, inscribed in a ``bounding_circle``.
|
||||
|
||||
For example ``ImageDraw.regular_polygon(((100, 100), 50), 5)``
|
||||
For example ``draw.regular_polygon(((100, 100), 50), 5)``
|
||||
draws a pentagon centered at the point ``(100, 100)`` with a polygon radius of ``50``.
|
||||
|
||||
Security
|
||||
|
|
Loading…
Reference in New Issue
Block a user