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 May 6, 2018
1 parent 72f66fa commit b6f337f
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 @@ -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

0 comments on commit b6f337f

Please sign in to comment.