sdk/python/GUI/PyTurtle
GUI

PyTurtle

Python stdlib module — turtle. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Screen()Neutral
#
Signature
Screen()

Return the singleton screen object.

.addshape()Neutral
#
Signature
addshape(name, shape)

Adds a turtle shape to TurtleScreen's shapelist.

.back()Neutral
#
Signature
back(distance)

Move the turtle backward by distance.

.backward()Neutral
#
Signature
backward(distance)

Move the turtle backward by distance.

.begin_fill()Neutral
#
Signature
begin_fill()

Called just before drawing a shape to be filled.

.begin_poly()Neutral
#
Signature
begin_poly()

Start recording the vertices of a polygon.

.bgcolor()Neutral
#
Signature
bgcolor(args)

Set or return backgroundcolor of the TurtleScreen.

.bgpic()Neutral
#
Signature
bgpic(picname)

Set background image or return name of current backgroundimage.

.bk()Neutral
#
Signature
bk(distance)

Move the turtle backward by distance.

.bye()Neutral
#
Signature
bye()

Shut the turtlegraphics window.

Fully-Qualified Names

FQNField
turtlefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import turtle