Tommy C
b142560488
Rename b_circle
and bounding_circle
+ accept ((x0, y0), r)
...
Summary of changes
- Rename `b_circle` and `bounding_circle`
-`bounding_circle` now accepts both formats below:
- (x0, y0, r)
- ((x0, y0), r)
2020-08-22 20:19:23 +01:00
Tommy C
df9329f9f0
Replace bbox
with b_circle
, kwargs with args + minor tweaks
...
Summary of changes:
- `ImageDraw.regular_polygon` now accepts a bounding circle which
inscribes the polygon. A bounding circle is defined by a center point
(x0, y0) and a radius. A bounding box is no longer accepted.
- All keyword args have been replaced with positional args.
Misc
- Test image file renaming, minor variable name changes
2020-08-20 20:46:11 +01:00
Tommy C
ac7d41545d
Update regular_polygon
args + arg checks
...
Summary of changes
- Allow positional args in `regular_polygon` method
- Allow multiple bounding box formats
- (e.g. bbox = [(x0, y0), (x1, y1)] or [x0, y0, x1, y1])
- Check if bounding box is square
- Update var names
- b_box => bbox
- nb_sides => n_sides
2020-08-16 21:07:16 +01:00
Tommy C
0ed01dd964
Add ImageDraw.regular_polygon
2020-08-16 13:29:13 +01:00
nulano
9589159585
use cross-reference for None value
2020-07-10 00:08:27 +02:00
nulano
2761a02d13
fix module references
...
(cherry picked from commit b077850baa
)
2020-06-27 15:33:55 +02:00
nulano
eab2260313
add docs for ImageDraw2 based on ImageDraw, fix ImageDraw links
2020-06-14 14:48:22 +02:00
Andrew Murray
402a59f6ec
Fixed formatting [ci skip]
2020-06-08 13:17:08 +10:00
Hugo
cda682efc4
Parameter values in code formatting
2020-06-04 11:45:13 +03:00
Hugo van Kemenade
95f3f359b7
Fix name
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-06-03 11:23:24 +03:00
Hugo
14302aa53d
Fix parameter formatting
2020-06-02 22:14:36 +03:00
Hugo
87de783226
Replace simple code formatting with :py:meth: markup
2020-06-02 21:48:53 +03:00
Hugo
087e42f743
Move OpenType docs link to a reference
2020-06-02 21:28:34 +03:00
Hugo
dc0c7bea37
Update ImageDraw docs formatting and links
2020-06-02 21:16:13 +03:00
Andrew Murray
b2f187c4ec
Added multiline text example [ci skip]
2020-04-12 15:11:29 +10:00
Andrew Murray
04f7c75466
Use context manager when opening images [ci skip]
2020-02-29 10:29:44 +11:00
Hugo van Kemenade
0e993c4740
Merge pull request #4334 from radarhere/outline_width
...
Allow explicit zero width to hide outline
2020-02-15 14:30:12 +02:00
Andrew Murray
1c102fd040
Updated spacing defaults [ci skip]
2020-01-18 10:26:20 +11:00
Andrew Murray
56f30ef792
Allow explicit zero width to hide outline
2020-01-08 21:55:15 +11:00
Andrew Murray
f93a5d0972
Added text stroking
2019-07-29 06:40:03 +10:00
Jon Dufresne
8fac23b3df
Clean up several Sphinx warnings
...
Appeared as:
Pillow/docs/reference/ImageDraw.rst:137: WARNING: Unexpected indentation.
Pillow/docs/reference/ImageDraw.rst:164: WARNING: Unexpected indentation.
Pillow/docs/reference/ImageDraw.rst:177: WARNING: Unexpected indentation.
Pillow/docs/reference/ImageDraw.rst:208: WARNING: Unexpected indentation.
Pillow/docs/reference/ImageStat.rst:24: WARNING: Explicit markup ends without a blank line; unexpected unindent.
2019-07-06 17:12:09 -07:00
Andrew Murray
31340bb3c6
Corrected names in documentation
2019-04-24 06:19:17 +10:00
Ben Yang
8bd4bbb808
implemented language parameter for multiline ImageDraw methods, updated release notes
2019-03-11 20:21:52 -07:00
Ben Yang
515244b672
moved language parameter in ImageDraw documentation
2019-03-11 18:56:22 -07:00
Ben Yang
d5bbf01254
moved 'language' parameter to last parameter in relevant functions
2019-03-11 18:56:22 -07:00
Ben Yang
8624efd283
added ability to set language for text rendering
2019-03-11 18:55:46 -07:00
Andrew Murray
32c344b7ce
Added note about ImageDraw operations that exceed image bounds [ci skip]
2019-01-27 22:10:54 +11:00
Andrew Murray
1e305380ae
Merge pull request #3094 from hugovk/add-width-to-shapes
...
Add line width parameter to rectangle and ellipse-based shapes
2018-09-29 23:21:03 +10:00
Hugo
292fa6120e
'btt' (bottom to top) is not supported by libraqm
2018-09-18 13:41:55 +03:00
Hugo
e266b033d1
Update version added
2018-09-16 23:41:24 +03:00
Andrew Murray
53acbfc4d5
Added versionadded [ci skip]
2018-09-16 22:30:11 +10:00
Andrew Murray
f3842460ba
Added line joints
2018-09-16 21:29:09 +10:00
Hugo
fbe5bdb6b6
Also apply width to pieslice's inner lines
2018-09-01 14:40:36 +03:00
Hugo
d6e3ef85c2
Add width parameter to arc, chord, ellipse, pieslice
2018-07-02 11:26:42 +03:00
Hugo
9dedbff713
Add width parameter to rectangle
2018-07-02 11:21:30 +03:00
Andrew Murray
bf96b9f87a
Updated redirected URLs [ci skip]
2018-06-23 10:58:41 +10:00
Hugo
b6f337fa60
Clarify bounding box for arc, chord, ellipse, pieslice
2018-05-06 16:07:04 +03:00
Hugo
cbfc832ccd
Remove 'del draw' from code example
2018-04-14 19:00:55 +03:00
Andrew Murray
fc3c4c0119
Corrected reference to method
2018-02-14 20:09:00 +11:00
Lukas Waymann
4960da0519
Correct error in ImageDraw documentation [ci skip]
...
The first parameter of several functions is described as "four points".
It should be "two points" or "four coordinates".
2017-11-15 11:34:51 +01:00
Hugo
dfafd51a2c
Link to maintained version of aggdraw
...
See https://github.com/pytroll/aggdraw/issues/11
2017-10-23 18:45:57 +03:00
Andrew Murray
7e980d4897
Corrected docs syntax
2017-09-22 20:29:20 +10:00
Andrew Murray
a05c2cf7ff
Improved ImageDraw documentation
2017-07-16 15:22:46 +10:00
Andrew Murray
f33976f81d
Corrected class name in ImageDraw docs
2017-07-16 15:21:26 +10:00
wiredfool
8feac899dd
Merge pull request #2576 from wiredfool/pr_2284
...
Complex Text Support
2017-07-01 10:45:18 +01:00
wiredfool
9f7aae3505
Doc changes/additions
2017-06-29 07:02:02 -07:00
Andrew Murray
91215c384d
Fixed typo [ci skip]
2017-06-24 15:04:37 +10:00
Fahad Al-Saidi
e07a254ed9
update
2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
6dc4c7ea06
improve docs for CTL
2017-06-21 14:00:14 -07:00
shamsa
fe871bb736
Document complex text layout features.
2017-06-21 14:00:13 -07:00