Skip to content

Commit 005b059

Browse files
bpo-39392: Turtle overlap fill depends on OS (GH-18223)
Whether or not overlap regions for self-intersecting polygons or multiple shapes are filled depends on the operating system graphics, typeof overlap, and number of overlaps. (cherry picked from commit 2824c45) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent 5aefee6 commit 005b059

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Doc/library/turtle.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,11 @@ Filling
10131013

10141014
Fill the shape drawn after the last call to :func:`begin_fill`.
10151015

1016+
Whether or not overlap regions for self-intersecting polygons
1017+
or multiple shapes are filled depends on the operating system graphics,
1018+
type of overlap, and number of overlaps. For example, the Turtle star
1019+
above may be either all yellow or have some white regions.
1020+
10161021
.. doctest::
10171022

10181023
>>> turtle.color("black", "red")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Explain that when filling with turtle, overlap regions may be left unfilled.

0 commit comments

Comments
 (0)