Skip to content

Commit

Permalink
Clarify bounding box for arc, chord, ellipse, pieslice
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Apr 6, 2018
1 parent b33f1a4 commit 6aec72c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/reference/ImageDraw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,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 @@ -156,7 +157,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 @@ -165,7 +167,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 @@ -189,7 +192,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

0 comments on commit 6aec72c

Please sign in to comment.