Skip to content

Commit 2824c45

Browse files
authored
bpo-39392: Turtle overlap fill depends on OS (#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.
1 parent a278313 commit 2824c45

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
@@ -1051,6 +1051,11 @@ Filling
10511051

10521052
Fill the shape drawn after the last call to :func:`begin_fill`.
10531053

1054+
Whether or not overlap regions for self-intersecting polygons
1055+
or multiple shapes are filled depends on the operating system graphics,
1056+
type of overlap, and number of overlaps. For example, the Turtle star
1057+
above may be either all yellow or have some white regions.
1058+
10541059
.. doctest::
10551060
:skipif: _tkinter is None
10561061

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)