Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify bounding box for arc, chord, ellipse, pieslice #3080

Merged
merged 1 commit into from
May 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions docs/reference/ImageDraw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ Methods
angles, inside the given bounding box.

:param xy: Two points to define the bounding box. Sequence of
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``.
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``,
where ``x1 >= x0`` and ``y1 >= y0``.
:param start: Starting angle, in degrees. Angles are measured from
3 o'clock, increasing clockwise.
:param end: Ending angle, in degrees.
Expand All @@ -155,7 +156,8 @@ Methods
with a straight line.

:param xy: Two points to define the bounding box. Sequence of
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``.
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``,
where ``x1 >= x0`` and ``y1 >= y0``.
:param outline: Color to use for the outline.
:param fill: Color to use for the fill.

Expand All @@ -164,7 +166,8 @@ Methods
Draws an ellipse inside the given bounding box.

:param xy: Two points to define the bounding box. Sequence of either
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``.
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``,
where ``x1 >= x0`` and ``y1 >= y0``.
:param outline: Color to use for the outline.
:param fill: Color to use for the fill.

Expand All @@ -188,7 +191,8 @@ Methods
center of the bounding box.

:param xy: Two points to define the bounding box. Sequence of
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``.
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``,
where ``x1 >= x0`` and ``y1 >= y0``.
:param start: Starting angle, in degrees. Angles are measured from
3 o'clock, increasing clockwise.
:param end: Ending angle, in degrees.
Expand Down