mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Note parameter is optional
This commit is contained in:
		
							parent
							
								
									f4c3002b97
								
							
						
					
					
						commit
						2d39410957
					
				| 
						 | 
					@ -7,7 +7,7 @@ API Additions
 | 
				
			||||||
Add line width parameter to rectangle and ellipse-based shapes
 | 
					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``.
 | 
					``chord``, ``ellipse``, ``pieslice`` and ``rectangle``.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Curved joints for line sequences
 | 
					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
 | 
					the positions for all three color arguments can each be optionally specified
 | 
				
			||||||
(``blackpoint``, ``whitepoint`` and ``midpoint``).
 | 
					(``blackpoint``, ``whitepoint`` and ``midpoint``).
 | 
				
			||||||
For example, with all optional arguments::
 | 
					For example, with all optional arguments::
 | 
				
			||||||
 | 
					 | 
				
			||||||
    ImageOps.colorize(im, black=(32, 37, 79), white='white', mid=(59, 101, 175),
 | 
					    ImageOps.colorize(im, black=(32, 37, 79), white='white', mid=(59, 101, 175),
 | 
				
			||||||
                          blackpoint=15, whitepoint=240, midpoint=100)
 | 
					                          blackpoint=15, whitepoint=240, midpoint=100)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user