mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Add ImageDraw.regular_polygon to release notes
				
					
				
			[skip ci]
This commit is contained in:
		
							parent
							
								
									0e69b8e23b
								
							
						
					
					
						commit
						7a75e09fe1
					
				| 
						 | 
					@ -78,6 +78,14 @@ high ends.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Now, it can also be a tuple ``(low, high)``.
 | 
					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
 | 
					Security
 | 
				
			||||||
========
 | 
					========
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user