mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-05 00:13:42 +03:00
Document that alpha_only is a keyword-only argument
This commit is contained in:
parent
17b19b5668
commit
044de40c93
|
@ -1301,6 +1301,7 @@ class Image:
|
||||||
:param alpha_only: Optional flag, defaulting to ``True``.
|
:param alpha_only: Optional flag, defaulting to ``True``.
|
||||||
If ``True`` and the image has an alpha channel, trim transparent pixels.
|
If ``True`` and the image has an alpha channel, trim transparent pixels.
|
||||||
Otherwise, trim pixels when all channels are zero.
|
Otherwise, trim pixels when all channels are zero.
|
||||||
|
Keyword-only argument.
|
||||||
:returns: The bounding box is returned as a 4-tuple defining the
|
:returns: The bounding box is returned as a 4-tuple defining the
|
||||||
left, upper, right, and lower pixel coordinate. See
|
left, upper, right, and lower pixel coordinate. See
|
||||||
:ref:`coordinate-system`. If the image is completely empty, this
|
:ref:`coordinate-system`. If the image is completely empty, this
|
||||||
|
|
Loading…
Reference in New Issue
Block a user