# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-24 01:19+0000\n"
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
"Last-Translator: python-doc bot, 2026\n"
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
"id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgid ":mod:`!turtle` --- Turtle graphics"
msgstr ""

msgid "**Source code:** :source:`Lib/turtle.py`"
msgstr ""

msgid "Turtle star"
msgstr ""

msgid ""
"Turtle can draw intricate shapes using programs that repeat simple moves."
msgstr ""

msgid "A yellow starburst of thin spikes with a red outline, drawn by turtle."
msgstr ""

msgid ""
"Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an "
"``import turtle``, give it the command ``turtle.forward(15)``, and it moves "
"(on-screen!) 15 pixels in the direction it is facing, drawing a line as it "
"moves. Give it the command ``turtle.right(25)``, and it rotates in-place 25 "
"degrees clockwise."
msgstr ""

msgid ""
"Turtle graphics is an implementation of `the drawing tools introduced in "
"Logo <https://en.wikipedia.org/wiki/Turtle_(robot)>`__ in 1967. It was "
"created as an educational tool, and its instant, visible feedback makes it "
"an effective way for learners to encounter programming concepts. It is also "
"a convenient way to produce simple graphical output without bringing in "
"external libraries."
msgstr ""

msgid "This document includes four main sections:"
msgstr ""

msgid ":ref:`turtle-tutorial` teaches the basics of turtle drawing."
msgstr ""

msgid ""
":ref:`turtle-reference` describes the functions, methods and classes this "
"module defines."
msgstr ""

msgid ":ref:`turtle-howtos` detail how to handle specific tasks."
msgstr ""

msgid ""
":ref:`turtle-explanation` provides background on the object-oriented "
"interface."
msgstr ""

msgid ""
"Turtle graphics requires the :mod:`tkinter` :term:`optional module`. The "
"python.org installers for Windows and macOS include it, but some Linux "
"distributions and other platforms may package it separately. If ``import "
"turtle`` fails with an error mentioning ``_tkinter``, look for documentation "
"from your distributor (that is, whoever provided Python to you). Check this "
"in advance if you're planning to use turtle graphics with a learner."
msgstr ""

msgid "Tutorial"
msgstr "Tutorial"

msgid ""
"New users should start here. In this tutorial we'll explore some of the "
"basics of turtle drawing."
msgstr ""

msgid "Starting a turtle environment"
msgstr ""

msgid "In a Python shell, import all the objects of the ``turtle`` module::"
msgstr ""

msgid "from turtle import *"
msgstr ""

msgid ""
"If you run into a ``Standard library module '_tkinter' was not found`` "
"error, you'll have to install the :mod:`Tk interface package <tkinter>` on "
"your system."
msgstr ""

msgid ""
"Nothing appears yet. To open the turtle window, make the turtle visible::"
msgstr ""

msgid "showturtle()"
msgstr ""

msgid ""
"A new window opens, with the turtle in the middle, shown as an arrow heading "
"East."
msgstr ""

msgid "Basic drawing"
msgstr ""

msgid "Send the turtle forward 100 steps::"
msgstr ""

msgid "forward(100)"
msgstr ""

msgid ""
"You should see a line drawn by the turtle, heading East. Change the "
"direction of the turtle, so that it turns 120 degrees left (anti-clockwise)::"
msgstr ""

msgid "left(120)"
msgstr ""

msgid "Let's continue by drawing a triangle::"
msgstr ""

msgid ""
"forward(100)\n"
"left(120)\n"
"forward(100)"
msgstr ""

msgid ""
"Notice how the turtle, represented by an arrow, points in different "
"directions as you steer it."
msgstr ""

msgid ""
"Experiment with those commands, and also with ``backward()`` and "
"``right()``. Many commands also have shorter aliases, such as ``fd()`` "
"for :func:`forward`."
msgstr ""

msgid "Pen control"
msgstr ""

msgid ""
"Try changing the color - for example, ``color('blue')`` - and width of the "
"line - for example, ``width(3)`` - and then drawing again."
msgstr ""

msgid ""
"You can also move the turtle around without drawing, by lifting up the pen: "
"``up()`` before moving. To start drawing again, use ``down()``."
msgstr ""

msgid "The turtle's position"
msgstr ""

msgid ""
"Send your turtle back to its starting-point (useful if it has disappeared "
"off-screen)::"
msgstr ""

msgid "home()"
msgstr ""

msgid ""
"The home position is at the center of the turtle's screen. If you ever need "
"to know them, get the turtle's x-y coordinates with::"
msgstr ""

msgid "pos()"
msgstr ""

msgid "Home is at ``(0, 0)``."
msgstr ""

msgid ""
"And after a while, it will probably help to clear the window so we can start "
"anew::"
msgstr ""

msgid "clearscreen()"
msgstr ""

msgid "Making algorithmic patterns"
msgstr ""

msgid "Using loops, it's possible to build up geometric patterns::"
msgstr ""

msgid ""
"for steps in range(100):\n"
"    for c in ('blue', 'red', 'green'):\n"
"        color(c)\n"
"        forward(steps)\n"
"        right(30)"
msgstr ""

msgid "\\ - which of course, are limited only by the imagination!"
msgstr ""

msgid ""
"Let's draw the star shape at the top of this page. We want red lines, filled "
"in with yellow::"
msgstr ""

msgid ""
"color('red')\n"
"fillcolor('yellow')"
msgstr ""

msgid ""
"Just as ``up()`` and ``down()`` determine whether lines will be drawn, "
"filling can be turned on and off::"
msgstr ""

msgid "begin_fill()"
msgstr ""

msgid "Next we'll create a loop::"
msgstr ""

msgid ""
"start = pos()\n"
"\n"
"while True:\n"
"    forward(200)\n"
"    left(170)\n"
"    if distance(start) < 1:\n"
"        break"
msgstr ""

msgid ""
"``distance(start) < 1`` is a good way to know when the turtle is back at its "
"start position."
msgstr ""

msgid "Finally, complete the filling::"
msgstr ""

msgid "end_fill()"
msgstr ""

msgid ""
"(Note that filling only actually takes place when you give the "
"``end_fill()`` command.)"
msgstr ""

msgid "Reference"
msgstr "Referensi"

msgid "Turtle methods and functions"
msgstr ""

msgid ""
"Most of the examples in this section refer to a Turtle instance called "
"``turtle``."
msgstr ""

msgid "Move and draw"
msgstr ""

msgid "Parameters"
msgstr "Parameter"

msgid "a number"
msgstr ""

msgid ""
"Move the turtle forward by the specified *distance*, in the direction the "
"turtle is headed."
msgstr ""

msgid ""
">>> turtle.position()\n"
"(0.00,0.00)\n"
">>> turtle.forward(25)\n"
">>> turtle.position()\n"
"(25.00,0.00)\n"
">>> turtle.forward(-75)\n"
">>> turtle.position()\n"
"(-50.00,0.00)"
msgstr ""

msgid ""
"Move the turtle backward by *distance*, opposite to the direction the turtle "
"is headed. The turtle's heading does not change."
msgstr ""

msgid ""
">>> turtle.position()\n"
"(0.00,0.00)\n"
">>> turtle.backward(30)\n"
">>> turtle.position()\n"
"(-30.00,0.00)"
msgstr ""

msgid ""
"Turn the turtle right by the specified *angle*. The angle is measured in "
"degrees by default; the unit can be changed with :func:`degrees` "
"or :func:`radians`. How the heading is measured depends on the turtle mode, "
"see :func:`mode`."
msgstr ""

msgid ""
">>> turtle.heading()\n"
"22.0\n"
">>> turtle.right(45)\n"
">>> turtle.heading()\n"
"337.0"
msgstr ""

msgid ""
"Turn the turtle left by the specified *angle*. The angle is measured in "
"degrees by default; the unit can be changed with :func:`degrees` "
"or :func:`radians`. How the heading is measured depends on the turtle mode, "
"see :func:`mode`."
msgstr ""

msgid ""
">>> turtle.heading()\n"
"22.0\n"
">>> turtle.left(45)\n"
">>> turtle.heading()\n"
"67.0"
msgstr ""

msgid "a number or a pair/vector of numbers"
msgstr ""

msgid "a number or ``None``"
msgstr ""

msgid ""
"Move the turtle to an absolute position. If *y* is ``None``, *x* must be a "
"pair of coordinates or a :class:`Vec2D`, for example as returned "
"by :func:`pos`. If the pen is down, a line is drawn. The turtle's heading "
"does not change."
msgstr ""

msgid ""
">>> tp = turtle.pos()\n"
">>> tp\n"
"(0.00,0.00)\n"
">>> turtle.goto(60,30)\n"
">>> turtle.pos()\n"
"(60.00,30.00)\n"
">>> turtle.goto((20,80))\n"
">>> turtle.pos()\n"
"(20.00,80.00)\n"
">>> turtle.goto(tp)\n"
">>> turtle.pos()\n"
"(0.00,0.00)"
msgstr ""

msgid "a boolean"
msgstr ""

msgid ""
"Teleport, or instantly move, the turtle to an absolute position. "
"Unlike :func:`goto`, no line is drawn. If *x* or *y* is not given, that "
"coordinate is kept as it is. The turtle's heading does not change."
msgstr ""

msgid ""
"If the turtle is filling a shape, the shape drawn so far is finished and "
"filled before teleporting, and filling starts again at the new position. "
"Pass ``fill_gap=True`` to keep filling one shape instead. The teleport then "
"counts as an edge of the shape, as it would with :func:`goto`."
msgstr ""

msgid ""
">>> tp = turtle.pos()\n"
">>> tp\n"
"(0.00,0.00)\n"
">>> turtle.teleport(60)\n"
">>> turtle.pos()\n"
"(60.00,0.00)\n"
">>> turtle.teleport(y=10)\n"
">>> turtle.pos()\n"
"(60.00,10.00)\n"
">>> turtle.teleport(20, 30)\n"
">>> turtle.pos()\n"
"(20.00,30.00)"
msgstr ""

msgid "Set the turtle's x coordinate to *x*. The y coordinate is unchanged."
msgstr ""

msgid ""
">>> turtle.position()\n"
"(0.00,240.00)\n"
">>> turtle.setx(10)\n"
">>> turtle.position()\n"
"(10.00,240.00)"
msgstr ""

msgid "Set the turtle's y coordinate to *y*. The x coordinate is unchanged."
msgstr ""

msgid ""
">>> turtle.position()\n"
"(0.00,40.00)\n"
">>> turtle.sety(-10)\n"
">>> turtle.position()\n"
"(0.00,-10.00)"
msgstr ""

msgid ""
"Set the turtle's heading to *to_angle*. Here are some common directions in "
"degrees:"
msgstr ""

msgid "standard mode"
msgstr ""

msgid "logo mode"
msgstr ""

msgid "0 - east"
msgstr ""

msgid "0 - north"
msgstr ""

msgid "90 - north"
msgstr ""

msgid "90 - east"
msgstr ""

msgid "180 - west"
msgstr ""

msgid "180 - south"
msgstr ""

msgid "270 - south"
msgstr ""

msgid "270 - west"
msgstr ""

msgid ""
">>> turtle.setheading(90)\n"
">>> turtle.heading()\n"
"90.0"
msgstr ""

msgid ""
"Move the turtle to the origin, coordinates (0,0). The turtle's heading is "
"set to its start orientation, which depends on the turtle mode, "
"see :func:`mode`."
msgstr ""

msgid ""
">>> turtle.heading()\n"
"90.0\n"
">>> turtle.position()\n"
"(0.00,-10.00)\n"
">>> turtle.home()\n"
">>> turtle.position()\n"
"(0.00,0.00)\n"
">>> turtle.heading()\n"
"0.0"
msgstr ""

msgid "an integer or ``None``"
msgstr ""

msgid ""
"Draw a circle with the given *radius*. The center is *radius* units left of "
"the turtle; *extent*, an angle, determines which part of the circle is "
"drawn. If *extent* is not given, draw the entire circle. If *extent* is not "
"a full circle, one endpoint of the arc is the current pen position. Draw the "
"arc in the counterclockwise direction if *radius* is positive, otherwise in "
"the clockwise direction. Finally, the turtle's heading is changed by "
"*extent*."
msgstr ""

msgid ""
"As the circle is approximated by an inscribed regular polygon, *steps* "
"determines the number of steps to use. If not given, it will be calculated "
"automatically. May be used to draw regular polygons."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.position()\n"
"(0.00,0.00)\n"
">>> turtle.heading()\n"
"0.0\n"
">>> turtle.circle(50)\n"
">>> turtle.position()\n"
"(-0.00,0.00)\n"
">>> turtle.heading()\n"
"0.0\n"
">>> turtle.circle(120, 180)  # draw a semicircle\n"
">>> turtle.position()\n"
"(0.00,240.00)\n"
">>> turtle.heading()\n"
"180.0"
msgstr ""

msgid "a positive integer or ``None``"
msgstr ""

msgid "a colorstring or a numeric color tuple"
msgstr ""

msgid ""
"Draw a circular dot with diameter *size*, using *color*. If *size* is not "
"given, the larger of ``pensize + 4`` and ``2 * pensize`` is used. If *color* "
"is not given, the current pencolor is used."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.dot()\n"
">>> turtle.fd(50); turtle.dot(20, \"blue\"); turtle.fd(50)\n"
">>> turtle.position()\n"
"(100.00,-0.00)\n"
">>> turtle.heading()\n"
"0.0"
msgstr ""

msgid ""
"Stamp a copy of the turtle shape onto the canvas and return its id. The "
"stamp is placed at the current turtle position. The returned id can be used "
"to delete the stamp with :func:`clearstamp`."
msgstr ""

msgid ""
">>> turtle.color(\"blue\")\n"
">>> stamp_id = turtle.stamp()\n"
">>> turtle.fd(50)"
msgstr ""

msgid "an integer"
msgstr ""

msgid ""
"Delete the stamp with the given *stampid*. *stampid* must be the return "
"value of a previous :func:`stamp` call."
msgstr ""

msgid ""
">>> turtle.position()\n"
"(150.00,-0.00)\n"
">>> turtle.color(\"blue\")\n"
">>> astamp = turtle.stamp()\n"
">>> turtle.fd(50)\n"
">>> turtle.position()\n"
"(200.00,-0.00)\n"
">>> turtle.clearstamp(astamp)\n"
">>> turtle.position()\n"
"(200.00,-0.00)"
msgstr ""

msgid ""
"Delete all or the first or last *n* of the turtle's stamps. If *n* is not "
"given, delete all stamps. If *n* is positive, delete the first *n* stamps. "
"If *n* is negative, delete the last *n* stamps, so -2 deletes the last two."
msgstr ""

msgid ""
">>> for i in range(8):\n"
"...     unused_stamp_id = turtle.stamp()\n"
"...     turtle.fd(30)\n"
">>> turtle.clearstamps(2)\n"
">>> turtle.clearstamps(-2)\n"
">>> turtle.clearstamps()"
msgstr ""

msgid ""
"Undo the last turtle action. Calling :func:`!undo` repeatedly undoes one "
"action at a time. The number of actions that can be undone is set by the "
"size of the undo buffer, see :func:`setundobuffer`."
msgstr ""

msgid ""
">>> for i in range(4):\n"
"...     turtle.fd(50); turtle.lt(80)\n"
"...\n"
">>> for i in range(8):\n"
"...     turtle.undo()"
msgstr ""

msgid "an integer, a string or ``None``"
msgstr ""

msgid ""
"Return or set the turtle's speed. If *speed* is not given, return the "
"current speed. Otherwise set the turtle's speed to an integer from 0 to 10. "
"A number above 0.5 and below 10.5 is rounded to the nearest integer. Any "
"other number sets the speed to 0. You can also use these names instead of "
"numbers:"
msgstr ""

msgid "\"fastest\": 0"
msgstr ""

msgid "\"fast\": 10"
msgstr ""

msgid "\"normal\": 6"
msgstr ""

msgid "\"slow\": 3"
msgstr ""

msgid "\"slowest\": 1"
msgstr ""

msgid ""
"Speeds from 1 to 10 give increasingly faster animation of line drawing and "
"turtle turning. A speed of 0 means that no animation takes "
"place: :func:`forward` and :func:`back` make the turtle jump, and "
"likewise :func:`left` and :func:`right` make the turtle turn instantly."
msgstr ""

msgid ""
">>> turtle.speed()\n"
"3\n"
">>> turtle.speed('normal')\n"
">>> turtle.speed()\n"
"6\n"
">>> turtle.speed(9)\n"
">>> turtle.speed()\n"
"9"
msgstr ""

msgid "Tell Turtle's state"
msgstr ""

msgid "Return the turtle's current location (x,y) as a :class:`Vec2D` vector."
msgstr ""

msgid ""
">>> turtle.pos()\n"
"(440.00,-0.00)"
msgstr ""

msgid "a number or a pair/vector of numbers or a turtle instance"
msgstr ""

msgid "a number if *x* is a number, else ``None``"
msgstr ""

msgid ""
"Return the angle of the line from the turtle's position to (x,y). If *y* is "
"``None``, *x* must be a pair of coordinates, a :class:`Vec2D`, for example "
"as returned by :func:`pos`, or another turtle. The angle is measured from "
"the turtle's start orientation, which depends on the turtle mode, "
"see :func:`mode`."
msgstr ""

msgid ""
">>> turtle.goto(10, 10)\n"
">>> turtle.towards(0,0)\n"
"225.0"
msgstr ""

msgid "Return the turtle's x coordinate."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.left(50)\n"
">>> turtle.forward(100)\n"
">>> turtle.pos()\n"
"(64.28,76.60)\n"
">>> print(round(turtle.xcor(), 5))\n"
"64.27876"
msgstr ""

msgid "Return the turtle's y coordinate."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.left(60)\n"
">>> turtle.forward(100)\n"
">>> print(turtle.pos())\n"
"(50.00,86.60)\n"
">>> print(round(turtle.ycor(), 5))\n"
"86.60254"
msgstr ""

msgid ""
"Return the turtle's current heading. The value depends on the turtle mode, "
"see :func:`mode`."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.left(67)\n"
">>> turtle.heading()\n"
"67.0"
msgstr ""

msgid ""
"Return the distance from the turtle to (x,y) in turtle step units. If *y* is "
"``None``, *x* must be a pair of coordinates, a :class:`Vec2D`, for example "
"as returned by :func:`pos`, or another turtle."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.distance(30,40)\n"
"50.0\n"
">>> turtle.distance((30,40))\n"
"50.0\n"
">>> joe = Turtle()\n"
">>> joe.forward(77)\n"
">>> turtle.distance(joe)\n"
"77.0"
msgstr ""

msgid "Settings for measurement"
msgstr ""

msgid ""
"Set the angle measurement units to degrees. The number of degrees in a full "
"circle is set to *fullcircle*, which defaults to 360."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.left(90)\n"
">>> turtle.heading()\n"
"90.0\n"
"\n"
">>> # Change angle measurement unit to grad (also known as gon,\n"
">>> # grade, or gradian and equals 1/100-th of the right angle.)\n"
">>> turtle.degrees(400.0)\n"
">>> turtle.heading()\n"
"100.0\n"
">>> turtle.degrees(360)\n"
">>> turtle.heading()\n"
"90.0"
msgstr ""

msgid ""
"Set the angle measurement units to radians.  Equivalent to ``degrees(2 * "
"math.pi)``."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.left(90)\n"
">>> turtle.heading()\n"
"90.0\n"
">>> turtle.radians()\n"
">>> turtle.heading()\n"
"1.5707963267948966"
msgstr ""

msgid "Drawing state"
msgstr ""

msgid "Lower the pen. The turtle draws a line when it moves."
msgstr ""

msgid "Lift the pen. The turtle does not draw when it moves."
msgstr ""

msgid "a positive number or ``None``"
msgstr ""

msgid ""
"Return or set the line thickness. If *width* is not given, return the "
"current pensize. If resizemode is set to \"auto\" and the turtle shape is a "
"polygon, that polygon is drawn with the same line thickness."
msgstr ""

msgid ""
">>> turtle.pensize()\n"
"1\n"
">>> turtle.pensize(10)   # from here on lines of width 10 are drawn"
msgstr ""

msgid "a dictionary or ``None``"
msgstr ""

msgid "keyword arguments with the keys below"
msgstr ""

msgid ""
"Return or set the pen's attributes. The attributes are returned as a "
"dictionary with the following keys and values:"
msgstr ""

msgid "\"shown\": ``True`` or ``False``"
msgstr ""

msgid "\"pendown\": ``True`` or ``False``"
msgstr ""

msgid "\"pencolor\": a color string or a color tuple"
msgstr ""

msgid "\"fillcolor\": a color string or a color tuple"
msgstr ""

msgid "\"pensize\": a positive number"
msgstr ""

msgid "\"speed\": a number from 0 to 10"
msgstr ""

msgid "\"resizemode\": \"auto\", \"user\" or \"noresize\""
msgstr ""

msgid "\"stretchfactor\": a pair of positive numbers"
msgstr ""

msgid "\"shearfactor\": a number"
msgstr ""

msgid "\"outline\": a positive number"
msgstr ""

msgid "\"tilt\": a number"
msgstr ""

msgid ""
"Such a dictionary can be passed as *pen* to restore a former pen state. The "
"attributes can also be given as keyword arguments, which can be used to set "
"several of them in one statement."
msgstr ""

msgid ""
">>> turtle.pen(fillcolor=\"black\", pencolor=\"red\", pensize=10)\n"
">>> turtle.pen()\n"
"{'shown': True, 'pendown': True, 'pencolor': 'red', 'fillcolor': 'black',\n"
" 'pensize': 10, 'speed': 9, 'resizemode': 'noresize',\n"
" 'stretchfactor': (1.0, 1.0), 'shearfactor': 0.0, 'outline': 1,\n"
" 'tilt': 0.0}\n"
">>> penstate = turtle.pen()\n"
">>> turtle.color(\"yellow\", \"\")\n"
">>> turtle.penup()\n"
">>> turtle.pen()[\"pencolor\"]\n"
"'yellow'\n"
">>> # restore the saved pen state, but with a green fill\n"
">>> turtle.pen(penstate, fillcolor=\"green\")\n"
">>> turtle.pen()[\"pencolor\"]\n"
"'red'\n"
">>> turtle.pen()[\"fillcolor\"]\n"
"'green'"
msgstr ""

msgid "Return ``True`` if the pen is down, ``False`` if it's up."
msgstr ""

msgid ""
">>> turtle.penup()\n"
">>> turtle.isdown()\n"
"False\n"
">>> turtle.pendown()\n"
">>> turtle.isdown()\n"
"True"
msgstr ""

msgid "Color control"
msgstr ""

msgid "Return or set the pencolor."
msgstr ""

msgid "Four input formats are allowed:"
msgstr ""

msgid "``pencolor()``"
msgstr ""

msgid ""
"Return the current pencolor as color specification string or as a tuple (see "
"example).  May be used as input to "
"another :func:`color`, :func:`pencolor`, :func:`fillcolor` "
"or :func:`bgcolor` call."
msgstr ""

msgid "``pencolor(colorstring)``"
msgstr ""

msgid ""
"Set the pencolor to *colorstring*, which is a Tk color specification string, "
"such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``."
msgstr ""

msgid "``pencolor((r, g, b))``"
msgstr ""

msgid ""
"Set the pencolor to the RGB color represented by the tuple of *r*, *g*, and "
"*b*. Each of *r*, *g*, and *b* must be between 0 and colormode, where "
"colormode is either 1.0 or 255 (see :func:`colormode`)."
msgstr ""

msgid "``pencolor(r, g, b)``"
msgstr ""

msgid ""
"Set the pencolor to the RGB color represented by *r*, *g*, and *b*. Each of "
"*r*, *g*, and *b* must be between 0 and colormode."
msgstr ""

msgid ""
"If the turtle shape is a polygon, the outline of that polygon is drawn with "
"the newly set pencolor."
msgstr ""

msgid ""
">>> colormode()\n"
"1.0\n"
">>> turtle.pencolor()\n"
"'red'\n"
">>> turtle.pencolor(\"brown\")\n"
">>> turtle.pencolor()\n"
"'brown'\n"
">>> tup = (0.2, 0.8, 0.55)\n"
">>> turtle.pencolor(tup)\n"
">>> turtle.pencolor()\n"
"(0.2, 0.8, 0.5490196078431373)\n"
">>> colormode(255)\n"
">>> turtle.pencolor()\n"
"(51.0, 204.0, 140.0)\n"
">>> turtle.pencolor('#32c18f')\n"
">>> turtle.pencolor()\n"
"(50.0, 193.0, 143.0)"
msgstr ""

msgid "Return or set the fillcolor."
msgstr ""

msgid "``fillcolor()``"
msgstr ""

msgid ""
"Return the current fillcolor as color specification string, possibly in "
"tuple format (see example).  May be used as input to "
"another :func:`color`, :func:`pencolor`, :func:`fillcolor` "
"or :func:`bgcolor` call."
msgstr ""

msgid "``fillcolor(colorstring)``"
msgstr ""

msgid ""
"Set the fillcolor to *colorstring*, which is a Tk color specification "
"string, such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``."
msgstr ""

msgid "``fillcolor((r, g, b))``"
msgstr ""

msgid ""
"Set the fillcolor to the RGB color represented by the tuple of *r*, *g*, and "
"*b*. Each of *r*, *g*, and *b* must be between 0 and colormode, where "
"colormode is either 1.0 or 255 (see :func:`colormode`)."
msgstr ""

msgid "``fillcolor(r, g, b)``"
msgstr ""

msgid ""
"Set the fillcolor to the RGB color represented by *r*, *g*, and *b*. Each of "
"*r*, *g*, and *b* must be between 0 and colormode."
msgstr ""

msgid ""
"If the turtle shape is a polygon, the interior of that polygon is drawn with "
"the newly set fillcolor."
msgstr ""

msgid ""
">>> turtle.fillcolor(\"violet\")\n"
">>> turtle.fillcolor()\n"
"'violet'\n"
">>> turtle.pencolor()\n"
"(50.0, 193.0, 143.0)\n"
">>> turtle.fillcolor((50, 193, 143))  # Integers, not floats\n"
">>> turtle.fillcolor()\n"
"(50.0, 193.0, 143.0)\n"
">>> turtle.fillcolor('#ffffff')\n"
">>> turtle.fillcolor()\n"
"(255.0, 255.0, 255.0)"
msgstr ""

msgid "Return or set the pencolor and fillcolor."
msgstr ""

msgid ""
"Several input formats are allowed. They use 0 to 3 arguments as follows:"
msgstr ""

msgid "``color()``"
msgstr ""

msgid ""
"Return the current pencolor and the current fillcolor as a pair of color "
"specification strings or tuples as returned by :func:`pencolor` "
"and :func:`fillcolor`."
msgstr ""

msgid "``color(colorstring)``, ``color((r,g,b))``, ``color(r,g,b)``"
msgstr ""

msgid ""
"Inputs as in :func:`pencolor`. Set both the pencolor and the fillcolor to "
"the given value."
msgstr ""

msgid ""
"``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``"
msgstr ""

msgid ""
"Equivalent to ``pencolor(colorstring1)`` and ``fillcolor(colorstring2)`` and "
"analogously if the other input format is used."
msgstr ""

msgid ""
"If the turtle shape is a polygon, the outline and interior of that polygon "
"are drawn with the newly set colors."
msgstr ""

msgid ""
">>> turtle.color(\"red\", \"green\")\n"
">>> turtle.color()\n"
"('red', 'green')\n"
">>> color(\"#285078\", \"#a0c8f0\")\n"
">>> color()\n"
"((40.0, 80.0, 120.0), (160.0, 200.0, 240.0))"
msgstr ""

msgid "See also: Screen method :func:`colormode`."
msgstr ""

msgid "Filling"
msgstr ""

msgid "Return ``True`` if the turtle is filling, ``False`` otherwise."
msgstr ""

msgid ""
">>> turtle.begin_fill()\n"
">>> if turtle.filling():\n"
"...    turtle.pensize(5)\n"
"... else:\n"
"...    turtle.pensize(3)"
msgstr ""

msgid "Fill the shape drawn in the :keyword:`with` block."
msgstr ""

msgid ""
">>> turtle.color(\"black\", \"red\")\n"
">>> with turtle.fill():\n"
"...     turtle.circle(80)"
msgstr ""

msgid ""
":func:`fill` is a :term:`context manager`, so using it is the same as "
"calling :func:`begin_fill` before the block and :func:`end_fill` after it:"
msgstr ""

msgid ""
">>> turtle.color(\"black\", \"red\")\n"
">>> turtle.begin_fill()\n"
">>> turtle.circle(80)\n"
">>> turtle.end_fill()"
msgstr ""

msgid ""
"Call just before drawing a shape to be filled. The shape is filled by the "
"next call to :func:`end_fill`."
msgstr ""

msgid "Fill the shape drawn after the last call to :func:`begin_fill`."
msgstr ""

msgid ""
"If the shape crosses itself or several shapes overlap, whether the "
"overlapping parts are filled depends on the operating system, the type of "
"overlap and how many there are. For example, the turtle star above may be "
"either all yellow or have some white regions."
msgstr ""

msgid "More drawing control"
msgstr ""

msgid ""
"Delete the turtle's drawings and re-center the turtle. The turtle's settings "
"are restored to their default values."
msgstr ""

msgid ""
">>> turtle.goto(0,-22)\n"
">>> turtle.left(100)\n"
">>> turtle.position()\n"
"(0.00,-22.00)\n"
">>> turtle.heading()\n"
"100.0\n"
">>> turtle.reset()\n"
">>> turtle.position()\n"
"(0.00,0.00)\n"
">>> turtle.heading()\n"
"0.0"
msgstr ""

msgid ""
"Delete the turtle's drawings from the screen. The state and position of the "
"turtle as well as the drawings of other turtles are not affected."
msgstr ""

msgid "an object"
msgstr ""

msgid "a string"
msgstr "sebuah string"

msgid "a tuple of a string, an integer and a string"
msgstr ""

msgid ""
"Write text at the current turtle position. The text is the string "
"representation of *arg*. *align* is one of the strings \"left\", \"center\" "
"or \"right\" and says how the text is placed relative to the turtle "
"position. *font* is a triple of font name, font size and font type. If "
"*move* is ``True``, the pen is moved to the bottom-right corner of the text."
msgstr ""

msgid ""
">>> turtle.write(\"Home = \", True, align=\"center\")\n"
">>> turtle.write((0,0), True)"
msgstr ""

msgid "Turtle state"
msgstr ""

msgid "Visibility"
msgstr ""

msgid "Make the turtle invisible. If the pen is down, movement still draws."
msgstr ""

msgid "Make the turtle visible."
msgstr ""

msgid "Return ``True`` if the turtle is visible, ``False`` if it's hidden."
msgstr ""

msgid ""
">>> turtle.hideturtle()\n"
">>> turtle.isvisible()\n"
"False\n"
">>> turtle.showturtle()\n"
">>> turtle.isvisible()\n"
"True"
msgstr ""

msgid "Appearance"
msgstr ""

msgid "a string or ``None``"
msgstr ""

msgid ""
"Set the turtle shape to the named shape. If *name* is not given, return the "
"name of the current shape. The shape must exist in "
"the :class:`TurtleScreen`'s shape list. Initially there are the following "
"shapes: \"arrow\", \"turtle\", \"circle\", \"square\", \"triangle\" and "
"\"classic\". To add shapes, see the :class:`Screen` "
"method :func:`register_shape`."
msgstr ""

msgid ""
">>> turtle.shape()\n"
"'classic'\n"
">>> turtle.shape(\"turtle\")\n"
">>> turtle.shape()\n"
"'turtle'"
msgstr ""

msgid ""
"Set the resizemode to \"auto\", \"user\" or \"noresize\". If *rmode* is not "
"given, return the current resizemode. The different resizemodes have the "
"following effects:"
msgstr ""

msgid ""
"\"auto\": the turtle is resized according to the value of :func:`pensize`."
msgstr ""

msgid ""
"\"user\": the turtle is resized according to the stretch factors and outline "
"width, which are set by :func:`shapesize`."
msgstr ""

msgid "\"noresize\": the turtle is not resized."
msgstr ""

msgid ""
"``resizemode(\"user\")`` is called by :func:`shapesize` when used with "
"arguments."
msgstr ""

msgid ""
">>> turtle.resizemode()\n"
"'noresize'\n"
">>> turtle.resizemode(\"auto\")\n"
">>> turtle.resizemode()\n"
"'auto'"
msgstr ""

msgid ""
"Return or set the turtle's stretch factors and outline width. If no "
"arguments are given, return the current values. Otherwise set resizemode to "
"\"user\", so that the turtle is displayed stretched according to its stretch "
"factors:"
msgstr ""

msgid "*stretch_wid*: the stretch factor perpendicular to the turtle's heading"
msgstr ""

msgid ""
"*stretch_len*: the stretch factor in the direction of the turtle's heading"
msgstr ""

msgid "*outline*: the width of the shape's outline"
msgstr ""

msgid ""
"For example, ``shapesize(2, 1)`` makes the turtle twice as wide without "
"changing its length. If only *stretch_wid* is given, *stretch_len* is set to "
"the same value."
msgstr ""

msgid ""
">>> turtle.shapesize()\n"
"(1.0, 1.0, 1)\n"
">>> turtle.resizemode(\"user\")\n"
">>> turtle.shapesize(5, 5, 12)\n"
">>> turtle.shapesize()\n"
"(5, 5, 12)\n"
">>> turtle.shapesize(outline=8)\n"
">>> turtle.shapesize()\n"
"(5, 5, 8)"
msgstr ""

msgid ""
"Return or set the current shear factor. Shearing slants the turtle shape, "
"like the slant of italic letters. The shear factor says how much it is "
"slanted: 0 is not slanted at all, and the larger the number, the stronger "
"the slant. Negative numbers slant the other way. If *shear* is not given, "
"return the current shear factor. Otherwise slant the turtle shape "
"accordingly and set resizemode to \"user\". The turtle's heading does not "
"change. Precisely, the shear factor is the tangent of the shear angle."
msgstr ""

msgid ""
">>> turtle.shape(\"circle\")\n"
">>> turtle.shapesize(5,2)\n"
">>> turtle.shearfactor(0.5)\n"
">>> turtle.shearfactor()\n"
"0.5"
msgstr ""

msgid ""
"Turn the turtle shape by *angle* from its current tilt angle. The turtle's "
"heading does not change, so the turtle keeps moving in the same direction. "
"See :func:`tiltangle`."
msgstr ""

msgid ""
">>> turtle.reset()\n"
">>> turtle.shape(\"circle\")\n"
">>> turtle.shapesize(5,2)\n"
">>> turtle.tilt(30)\n"
">>> turtle.fd(50)\n"
">>> turtle.tilt(30)\n"
">>> turtle.fd(50)"
msgstr ""

msgid ""
"Return or set the current tilt angle. The tilt angle is the angle between "
"the direction the turtle shape points in and the direction the turtle moves "
"in. Normally the shape points in the direction of movement, so the tilt "
"angle is 0. If *angle* is given, turn the turtle shape to that tilt angle, "
"no matter what it was before, and set resizemode to \"user\". The turtle's "
"heading does not change. If *angle* is not given, return the current tilt "
"angle."
msgstr ""

msgid ""
">>> turtle.reset()\n"
">>> turtle.shape(\"circle\")\n"
">>> turtle.shapesize(5,2)\n"
">>> turtle.tilt(45)\n"
">>> turtle.tiltangle()\n"
"45.0"
msgstr ""

msgid ""
"Return or set the transformation matrix of the turtle shape. The matrix "
"combines the stretch factors, the shear factor and the tilt angle of the "
"turtle shape into four numbers: *t11* and *t12* form its first row, *t21* "
"and *t22* its second. If none of them are given, return the current matrix "
"as a tuple of four numbers. Otherwise set the given elements and update the "
"stretch factors, shear factor and tilt angle accordingly. ``t11 * t22 - t12 "
"* t21`` must not be zero, otherwise an error is raised."
msgstr ""

msgid ""
">>> turtle = Turtle()\n"
">>> turtle.shape(\"square\")\n"
">>> turtle.shapesize(4,2)\n"
">>> turtle.shearfactor(-0.5)\n"
">>> turtle.shapetransform()\n"
"(4.0, -1.0, -0.0, 2.0)"
msgstr ""

msgid ""
"Return the points that form the outline of the current turtle shape as a "
"tuple of ``(x, y)`` coordinate pairs. These points can be used to define a "
"new shape or parts of a :ref:`compound shape <compound-shapes>`."
msgstr ""

msgid ""
">>> turtle.shape(\"square\")\n"
">>> turtle.shapetransform(4, -1, 0, 2)\n"
">>> turtle.get_shapepoly()\n"
"((50, -20), (30, 20), (-50, 20), (-30, -20))"
msgstr ""

msgid "Using events"
msgstr ""

msgid "a function with two arguments or ``None``"
msgstr ""

msgid "a boolean or ``None``"
msgstr ""

msgid ""
"Bind *fun* to mouse-click events on this turtle. *fun* is called with the "
"coordinates of the clicked point on the canvas. If *fun* is ``None``, "
"existing bindings are removed. *btn* is the number of the mouse button and "
"defaults to 1, the left mouse button. If *add* is ``True``, a new binding is "
"added, otherwise it replaces a previous binding. Example for the anonymous "
"turtle, that is, the procedural way:"
msgstr ""

msgid ""
">>> def turn(x, y):\n"
"...     left(180)\n"
"...\n"
">>> onclick(turn)  # Now clicking into the turtle will turn it.\n"
">>> onclick(None)  # event-binding will be removed"
msgstr ""

msgid ""
"Bind *fun* to mouse-button-release events on this turtle. *fun* is called "
"with the coordinates of the point on the canvas where the mouse button is "
"released. If *fun* is ``None``, existing bindings are removed. *btn* is the "
"number of the mouse button and defaults to 1, the left mouse button. If "
"*add* is ``True``, a new binding is added, otherwise it replaces a previous "
"binding."
msgstr ""

msgid ""
">>> class MyTurtle(Turtle):\n"
"...     def glow(self,x,y):\n"
"...         self.fillcolor(\"red\")\n"
"...\n"
"...     def unglow(self,x,y):\n"
"...         self.fillcolor(\"\")\n"
"...\n"
">>> turtle = MyTurtle()\n"
">>> turtle.onclick(turtle.glow)     # clicking on turtle turns fillcolor "
"red,\n"
">>> turtle.onrelease(turtle.unglow) # releasing turns it to transparent."
msgstr ""

msgid ""
"Bind *fun* to mouse-move events on this turtle. *fun* is called with the "
"coordinates of the mouse pointer on the canvas. If *fun* is ``None``, "
"existing bindings are removed. *btn* is the number of the mouse button and "
"defaults to 1, the left mouse button. If *add* is ``True``, a new binding is "
"added, otherwise it replaces a previous binding. Every sequence of mouse-"
"move events on a turtle is preceded by a mouse-click event on that turtle."
msgstr ""

msgid ">>> turtle.ondrag(turtle.goto)"
msgstr ""

msgid ""
"Clicking and dragging the turtle then moves it across the screen, drawing by "
"hand if the pen is down."
msgstr ""

msgid "Special Turtle methods"
msgstr ""

msgid ""
"Record the vertices of a polygon drawn in the :keyword:`with` block. The "
"first and last vertices will be connected."
msgstr ""

msgid ""
">>> with turtle.poly():\n"
"...     turtle.forward(100)\n"
"...     turtle.right(60)\n"
"...     turtle.forward(100)"
msgstr ""

msgid ""
":func:`poly` is a :term:`context manager`, so using it is the same as "
"calling :func:`begin_poly` before the block and :func:`end_poly` after it:"
msgstr ""

msgid ""
">>> turtle.begin_poly()\n"
">>> turtle.forward(100)\n"
">>> turtle.right(60)\n"
">>> turtle.forward(100)\n"
">>> turtle.end_poly()"
msgstr ""

msgid ""
"Start recording the vertices of a polygon. The current turtle position is "
"the first vertex of the polygon."
msgstr ""

msgid ""
"Stop recording the vertices of a polygon. The current turtle position is the "
"last vertex of the polygon. This will be connected with the first vertex."
msgstr ""

msgid "Return the last recorded polygon."
msgstr ""

msgid ""
">>> turtle.home()\n"
">>> turtle.begin_poly()\n"
">>> turtle.fd(100)\n"
">>> turtle.left(20)\n"
">>> turtle.fd(30)\n"
">>> turtle.left(60)\n"
">>> turtle.fd(50)\n"
">>> turtle.end_poly()\n"
">>> p = turtle.get_poly()\n"
">>> register_shape(\"myFavouriteShape\", p)"
msgstr ""

msgid ""
"Create and return a clone of the turtle. The clone has the same position, "
"heading and turtle properties."
msgstr ""

msgid ""
">>> leonel = Turtle()\n"
">>> marco = leonel.clone()"
msgstr ""

msgid "Return the Turtle object itself."
msgstr ""

msgid ""
"Call ``getturtle()`` to get the turtle used by functions such "
"as :func:`forward` and :func:`left`:"
msgstr ""

msgid ""
">>> pet = getturtle()\n"
">>> pet.fd(50)\n"
">>> pet\n"
"<turtle.Turtle object at 0x...>"
msgstr ""

msgid ""
"Return the :class:`TurtleScreen` object the turtle is drawing on. "
"TurtleScreen methods can then be called for that object."
msgstr ""

msgid ""
">>> ts = turtle.getscreen()\n"
">>> ts\n"
"<turtle._Screen object at 0x...>\n"
">>> ts.bgcolor(\"pink\")"
msgstr ""

msgid ""
"Set or disable the undo buffer. If *size* is an integer, an empty undo "
"buffer of the given size is installed. *size* is the maximum number of "
"turtle actions that can be undone by :func:`undo`. If *size* is ``None``, "
"the undo buffer is disabled."
msgstr ""

msgid ">>> turtle.setundobuffer(42)"
msgstr ""

msgid "Return the number of entries in the undo buffer."
msgstr ""

msgid ""
">>> while turtle.undobufferentries():\n"
"...     turtle.undo()"
msgstr ""

msgid "Screen methods and functions"
msgstr ""

msgid ""
"Most of the examples in this section refer to a TurtleScreen instance called "
"``screen``."
msgstr ""

msgid "Window control"
msgstr ""

msgid "Return or set the background color of the TurtleScreen."
msgstr ""

msgid "``bgcolor()``"
msgstr ""

msgid ""
"Return the current background color as a color specification string or as a "
"tuple (see example).  May be used as input to "
"another :func:`color`, :func:`pencolor`, :func:`fillcolor` "
"or :func:`bgcolor` call."
msgstr ""

msgid "``bgcolor(colorstring)``"
msgstr ""

msgid ""
"Set the background color to *colorstring*, which is a Tk color specification "
"string, such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``."
msgstr ""

msgid "``bgcolor((r, g, b))``"
msgstr ""

msgid ""
"Set the background color to the RGB color represented by the tuple of *r*, "
"*g*, and *b*. Each of *r*, *g*, and *b* must be between 0 and colormode, "
"where colormode is either 1.0 or 255 (see :func:`colormode`)."
msgstr ""

msgid "``bgcolor(r, g, b)``"
msgstr ""

msgid ""
"Set the background color to the RGB color represented by *r*, *g*, and *b*. "
"Each of *r*, *g*, and *b* must be between 0 and colormode."
msgstr ""

msgid ""
">>> screen.bgcolor(\"orange\")\n"
">>> screen.bgcolor()\n"
"'orange'\n"
">>> screen.bgcolor(\"#800080\")\n"
">>> screen.bgcolor()\n"
"(128.0, 0.0, 128.0)"
msgstr ""

msgid ""
"Set the background image or return the name of the current one. If *picname* "
"is the name of an image file (PNG, GIF, PGM, and PPM), set that image as the "
"background. If *picname* is ``\"nopic\"``, delete the background image, if "
"present. If *picname* is ``None``, return the filename of the current "
"background image. ::"
msgstr ""

msgid ""
">>> screen.bgpic()\n"
"'nopic'\n"
">>> screen.bgpic(\"landscape.gif\")\n"
">>> screen.bgpic()\n"
"'landscape.gif'"
msgstr ""

msgid ""
"This TurtleScreen method is available as a global function only under the "
"name ``clearscreen``.  The global function ``clear`` is a different one "
"derived from the Turtle method ``clear``."
msgstr ""

msgid ""
"Delete all drawings and all turtles from the TurtleScreen.  Reset the now "
"empty TurtleScreen to its initial state: white background, no background "
"image, no event bindings and tracing on."
msgstr ""

msgid ""
"This TurtleScreen method is available as a global function only under the "
"name ``resetscreen``.  The global function ``reset`` is another one derived "
"from the Turtle method ``reset``."
msgstr ""

msgid "Reset all turtles on the screen to their initial state."
msgstr ""

msgid "a colorstring or ``None``"
msgstr ""

msgid ""
"Resize the canvas the turtles are drawing on. *canvwidth* and *canvheight* "
"are the new width and height of the canvas in pixels, and *bg* is the new "
"background color. If no arguments are given, return the current canvas width "
"and height."
msgstr ""

msgid ""
"The drawing window is not altered. To see hidden parts of the canvas, use "
"the scrollbars. This can make visible those parts of a drawing which were "
"outside the canvas before, for example to find a turtle that has wandered "
"off the canvas."
msgstr ""

msgid ""
">>> screen.screensize()\n"
"(400, 300)\n"
">>> screen.screensize(2000,1500)\n"
">>> screen.screensize()\n"
"(2000, 1500)"
msgstr ""

msgid ""
"Set up a user-defined coordinate system. *llx* and *lly* are the x and y "
"coordinates of the lower left corner of the canvas. *urx* and *ury* are the "
"x and y coordinates of the upper right corner. Switch to mode \"world\" if "
"necessary, which performs a reset. If mode \"world\" is already active, all "
"drawings are redrawn according to the new coordinates. In user-defined "
"coordinate systems, angles may appear distorted, see :func:`mode`."
msgstr ""

msgid ""
">>> screen.reset()\n"
">>> screen.setworldcoordinates(-50,-7.5,50,7.5)\n"
">>> for _ in range(72):\n"
"...     left(10)\n"
"...\n"
">>> for _ in range(8):\n"
"...     left(45); fd(2)   # a regular octagon"
msgstr ""

msgid "Animation control"
msgstr ""

msgid ""
"Temporarily turn off turtle animation. The code inside the :keyword:`with` "
"block is not animated. Once the block is exited, the drawing appears. This "
"is useful for drawing complex shapes where even the fastest speed setting is "
"too slow."
msgstr ""

msgid ""
">>> with screen.no_animation():\n"
"...     for dist in range(2, 400, 2):\n"
"...         fd(dist)\n"
"...         rt(90)"
msgstr ""

msgid "a nonnegative integer or ``None``"
msgstr ""

msgid ""
"Return or set the drawing delay in milliseconds. This is approximately the "
"time interval between two consecutive canvas updates. The longer the drawing "
"delay, the slower the animation."
msgstr ""

msgid ""
">>> screen.delay()\n"
"10\n"
">>> screen.delay(5)\n"
">>> screen.delay()\n"
"5"
msgstr ""

msgid ""
"Turn turtle animation on or off and set the drawing delay. If *n* is given, "
"only every n-th regular screen update is performed, which can be used to "
"speed up the drawing of complex graphics. If *n* is 0, animation is turned "
"off and the screen is only updated by calling :func:`update`. If *delay* is "
"given, it sets the drawing delay, see :func:`delay`. When called without "
"arguments, return the current value of *n*."
msgstr ""

msgid ""
">>> screen.tracer(8, 25)\n"
">>> dist = 2\n"
">>> for i in range(200):\n"
"...     fd(dist)\n"
"...     rt(90)\n"
"...     dist += 2"
msgstr ""

msgid ""
"Perform a TurtleScreen update. To be used when :func:`tracer` is turned off."
msgstr ""

msgid "See also the RawTurtle/Turtle method :func:`speed`."
msgstr ""

msgid "Using screen events"
msgstr ""

msgid "ignored"
msgstr ""

msgid ""
"Set focus on the :class:`TurtleScreen` so that it receives key events. The "
"two dummy arguments are only there so that :func:`listen` can be passed "
"to :func:`onclick`."
msgstr ""

msgid "a function with no arguments or ``None``"
msgstr ""

msgid ""
"Bind *fun* to the key-release event of *key*. *key* is a key, such as \"a\", "
"or a key symbol, such as \"space\". If *fun* is ``None``, the event binding "
"is removed. To be able to receive key events, the :class:`TurtleScreen` must "
"have focus, see :func:`listen`."
msgstr ""

msgid ""
">>> def f():\n"
"...     fd(50)\n"
"...     lt(60)\n"
"...\n"
">>> screen.onkey(f, \"Up\")\n"
">>> screen.listen()"
msgstr ""

msgid ""
"The turtle can then be moved by repeatedly pressing the up-arrow key, "
"drawing a hexagon."
msgstr ""

msgid ""
"Bind *fun* to the key-press event of *key*. *key* is a key, such as \"a\", "
"or a key symbol, such as \"space\". If *key* is not given, *fun* is bound to "
"the key-press event of any key. If *fun* is ``None``, the event binding is "
"removed. To be able to receive key events, the :class:`TurtleScreen` must "
"have focus, see :func:`listen`."
msgstr ""

msgid ""
">>> def f():\n"
"...     fd(50)\n"
"...     lt(60)\n"
"...\n"
">>> screen.onkeypress(f, \"Up\")\n"
">>> screen.listen()"
msgstr ""

msgid ""
"The turtle can then be moved by pressing or holding down the up-arrow key, "
"drawing a hexagon."
msgstr ""

msgid ""
"Bind *fun* to mouse-click events on this screen. *fun* is called with the "
"coordinates of the clicked point on the canvas. If *fun* is ``None``, "
"existing bindings are removed. *btn* is the number of the mouse button and "
"defaults to 1, the left mouse button. If *add* is ``True``, a new binding is "
"added, otherwise it replaces a previous binding."
msgstr ""

msgid ""
"Example for a TurtleScreen instance named ``screen`` and a Turtle instance "
"named ``turtle``:"
msgstr ""

msgid ""
">>> screen.onclick(turtle.goto) # Subsequently clicking into the "
"TurtleScreen will\n"
">>>                             # make the turtle move to the clicked "
"point.\n"
">>> screen.onclick(None)        # remove event binding again"
msgstr ""

msgid ""
"This TurtleScreen method is available as a global function only under the "
"name ``onscreenclick``.  The global function ``onclick`` is another one "
"derived from the Turtle method ``onclick``."
msgstr ""

msgid "a function with no arguments"
msgstr ""

msgid "a nonnegative number"
msgstr ""

msgid "Install a timer that calls *fun* after *t* milliseconds."
msgstr ""

msgid ""
">>> running = True\n"
">>> def f():\n"
"...     if running:\n"
"...         fd(50)\n"
"...         lt(60)\n"
"...         screen.ontimer(f, 250)\n"
">>> f()  # makes the turtle march around\n"
">>> running = False"
msgstr ""

msgid ""
"Start the event loop by calling Tkinter's :meth:`~tkinter.Misc.mainloop` "
"method. Must be the last statement in a turtle graphics program. Must *not* "
"be used if a script is run from within IDLE in -n mode (see :ref:`idle-no-"
"subprocess`)."
msgstr ""

msgid "Input methods"
msgstr ""

msgid ""
"Pop up a dialog window for input of a string. *title* is the title of the "
"dialog window and *prompt* is a text describing what information to input. "
"Return the string entered. If the dialog is canceled, return ``None``. ::"
msgstr ""

msgid ">>> screen.textinput(\"NIM\", \"Name of first player:\")"
msgstr ""

msgid ""
"Pop up a dialog window for input of a number. *title* is the title of the "
"dialog window and *prompt* is a text describing what numerical information "
"to input. *default* is the default value, *minval* and *maxval* are the "
"minimum and maximum values for input. If these are given and the number "
"entered is not between *minval* and *maxval*, a hint is issued and the "
"dialog remains open for correction. Return the number entered. If the dialog "
"is canceled, return ``None``. ::"
msgstr ""

msgid ""
">>> screen.numinput(\"Poker\", \"Your stakes:\", 1000, minval=10, "
"maxval=10000)"
msgstr ""

msgid "Settings and special methods"
msgstr ""

msgid ""
"Set the turtle mode and perform a reset. *mode* is one of the strings "
"\"standard\", \"logo\" or \"world\". If *mode* is not given, return the "
"current mode."
msgstr ""

msgid ""
"Mode \"standard\" is compatible with the old :mod:`!turtle` module. Mode "
"\"logo\" is compatible with most Logo turtle graphics. Mode \"world\" uses "
"user-defined world coordinates, see :func:`setworldcoordinates`. In this "
"mode, angles appear distorted if the x and y units are not of equal length."
msgstr ""

msgid "Mode"
msgstr ""

msgid "Initial turtle heading"
msgstr ""

msgid "positive angles"
msgstr ""

msgid "\"standard\""
msgstr ""

msgid "to the right (east)"
msgstr ""

msgid "counterclockwise"
msgstr ""

msgid "\"logo\""
msgstr ""

msgid "upward    (north)"
msgstr ""

msgid "clockwise"
msgstr ""

msgid ""
">>> mode(\"logo\")  # resets turtle heading to north\n"
">>> mode()\n"
"'logo'"
msgstr ""

msgid ""
"Return the colormode or set it to 1.0 or 255. After setting it, the *r*, *g* "
"and *b* values of color triples have to be between 0 and *cmode*."
msgstr ""

msgid ""
">>> screen.colormode(1)\n"
">>> turtle.pencolor(240, 160, 80)\n"
"Traceback (most recent call last):\n"
"     ...\n"
"turtle.TurtleGraphicsError: bad color sequence: (240, 160, 80)\n"
">>> screen.colormode()\n"
"1.0\n"
">>> screen.colormode(255)\n"
">>> screen.colormode()\n"
"255\n"
">>> turtle.pencolor(240,160,80)"
msgstr ""

msgid ""
"Return the Canvas of this TurtleScreen.  Useful for insiders who know what "
"to do with a Tkinter Canvas."
msgstr ""

msgid ""
">>> cv = screen.getcanvas()\n"
">>> cv\n"
"<turtle.ScrolledCanvas object ...>"
msgstr ""

msgid "Return a list of names of all currently available turtle shapes."
msgstr ""

msgid ""
">>> screen.getshapes()\n"
"['arrow', 'blank', 'circle', ..., 'turtle']"
msgstr ""

msgid ""
"a string, a tuple of pairs of numbers, a :class:`Shape` object or ``None``"
msgstr ""

msgid ""
"Add a turtle shape to the TurtleScreen's shape list. It can be called in "
"four different ways:"
msgstr ""

msgid ""
"*name* is the name of an image file (PNG, GIF, PGM, and PPM) and *shape* is "
"``None``: Install the corresponding image shape. ::"
msgstr ""

msgid ">>> screen.register_shape(\"turtle.gif\")"
msgstr ""

msgid ""
"*name* is an arbitrary string and *shape* is the name of an image file (PNG, "
"GIF, PGM, and PPM): Install the corresponding image shape. ::"
msgstr ""

msgid ">>> screen.register_shape(\"turtle\", \"turtle.gif\")"
msgstr ""

msgid ""
"*name* is an arbitrary string and *shape* is a tuple of pairs of "
"coordinates: Install the corresponding polygon shape."
msgstr ""

msgid ">>> screen.register_shape(\"triangle\", ((5,-3), (0,5), (-5,-3)))"
msgstr ""

msgid ""
"*name* is an arbitrary string and *shape* is a (compound) :class:`Shape` "
"object: Install the corresponding compound shape."
msgstr ""

msgid ""
"Image shapes do not rotate when turning the turtle, so they do not display "
"the heading of the turtle. To use a registered shape, call :func:`shape` "
"with its name."
msgstr ""

msgid ""
"Added support for PNG, PGM, and PPM image formats. Both a shape name and an "
"image file name can be specified."
msgstr ""

msgid "Return the list of turtles on the screen."
msgstr ""

msgid ""
">>> for turtle in screen.turtles():\n"
"...     turtle.color(\"red\")"
msgstr ""

msgid "Return the height of the turtle window. ::"
msgstr ""

msgid ""
">>> screen.window_height()\n"
"480"
msgstr ""

msgid "Return the width of the turtle window. ::"
msgstr ""

msgid ""
">>> screen.window_width()\n"
"640"
msgstr ""

msgid ""
"Save the current drawing and the turtles as a PostScript file. *filename* is "
"the path of the file to create. It must end with ``\".ps\"`` or "
"``\".eps\"``. If a file with that name already exists, "
"a :exc:`FileExistsError` is raised, unless *overwrite* is ``True``. "
"*overwrite* must be given by name, as in ``overwrite=True``."
msgstr ""

msgid ""
">>> screen.save(\"my_drawing.ps\")\n"
">>> screen.save(\"my_drawing.ps\", overwrite=True)"
msgstr ""

msgid "Screen-only methods"
msgstr ""

msgid "Close the turtle graphics window."
msgstr ""

msgid ""
"Bind :func:`bye` to mouse clicks on the screen and start the event loop. "
"Clicking on the screen then closes the turtle graphics window. If the "
"configuration value ``using_IDLE`` is ``True``, the event loop is not "
"started, see :func:`mainloop`."
msgstr ""

msgid "an integer or a float"
msgstr ""

msgid "Set the size and position of the main window."
msgstr ""

msgid ""
"*width* and *height* are the size of the window. As integers they are sizes "
"in pixels, as floats they are fractions of the screen, so 0.5 is half the "
"screen. The defaults are 50% of the screen width and 75% of its height."
msgstr ""

msgid ""
"*startx* and *starty* are the position of the window. If positive, they are "
"the distance in pixels from the left and top edges of the screen, if "
"negative from the right and bottom edges. If ``None``, the window is "
"centered in that direction."
msgstr ""

msgid ""
"The default values of all arguments are stored in the configuration "
"dictionary and can be changed with a :file:`turtle.cfg` file."
msgstr ""

msgid ""
">>> screen.setup(width=200, height=200, startx=0, starty=0)\n"
">>> # sets window to 200x200 pixels, in upper left of screen\n"
">>> screen.setup(width=0.75, height=0.5)\n"
">>> # sets window to 75% of screen by 50% of screen and centers"
msgstr ""

msgid ""
"Set the title of the turtle window to *titlestring*. The title is shown in "
"the title bar of the turtle graphics window."
msgstr ""

msgid ">>> screen.title(\"Welcome to the turtle zoo!\")"
msgstr ""

msgid "Public classes"
msgstr ""

msgid ""
"a :class:`!tkinter.Canvas`, a :class:`ScrolledCanvas` or "
"a :class:`TurtleScreen`"
msgstr ""

msgid ""
"Create a turtle. The turtle has all the methods described in :ref:`turtle-"
"methods`."
msgstr ""

msgid ""
"Subclass of RawTurtle, has the same interface but draws on a "
"default :class:`Screen` object created automatically when needed for the "
"first time."
msgstr ""

msgid "a :class:`!tkinter.Canvas`"
msgstr ""

msgid ""
"Provides the screen-oriented methods, such as :func:`bgcolor`, that are "
"described above."
msgstr ""

msgid ""
"Subclass of :class:`TurtleScreen`, with :ref:`four methods added "
"<screenspecific>`. Calling ``Screen()`` returns the single screen object. If "
"it does not exist yet, it is created. Otherwise the existing one is returned."
msgstr ""

msgid "a Tkinter widget"
msgstr ""

msgid ""
"A Tkinter canvas with scrollbars added. *master* is the widget that contains "
"it. Used by class :class:`Screen`, which thus automatically provides a "
"ScrolledCanvas as playground for the turtles."
msgstr ""

msgid "depends on *type_*"
msgstr ""

msgid ""
"Data structure modeling shapes. *type_* is one of the strings \"polygon\", "
"\"image\" or \"compound\". What *data* must be depends on *type_*: for "
"\"polygon\" a tuple of pairs of coordinates, for \"image\" an image (only "
"used internally), and for \"compound\" ``None``, as a compound shape is "
"built up using the :meth:`addcomponent` method."
msgstr ""

msgid "a tuple of pairs of numbers"
msgstr ""

msgid "a color"
msgstr ""

msgid "a color or ``None``"
msgstr ""

msgid ""
"Add a component to a shape of type \"compound\". *poly* is a polygon, a "
"tuple of pairs of numbers. *fill* is the color the polygon is filled with "
"and *outline* is the color of its outline. If *outline* is not given, *fill* "
"is used for it as well."
msgstr ""

msgid "Example:"
msgstr "Contoh:"

msgid ""
">>> poly = ((0,0), (10,-5), (0,10), (-10,-5))\n"
">>> s = Shape(\"compound\")\n"
">>> s.addcomponent(poly, \"red\", \"blue\")\n"
">>> # ... add more components and then use register_shape()"
msgstr ""

msgid "See :ref:`compoundshapes`."
msgstr ""

msgid ""
"A two-dimensional vector class, used as a helper class for implementing "
"turtle graphics.  May be useful for turtle graphics programs too.  Derived "
"from tuple, so a vector is a tuple!"
msgstr ""

msgid "Provides (for *a*, *b* vectors, *k* number):"
msgstr ""

msgid "``a + b`` vector addition"
msgstr ""

msgid "``a - b`` vector subtraction"
msgstr ""

msgid "``a * b`` inner product"
msgstr ""

msgid "``k * a`` and ``a * k`` multiplication with scalar"
msgstr ""

msgid "``abs(a)`` absolute value of a"
msgstr ""

msgid "``a.rotate(angle)`` rotation"
msgstr ""

msgid "Exceptions"
msgstr "Pengecualian"

msgid "The :mod:`!turtle` module defines the following exception:"
msgstr ""

msgid ""
"Raised for invalid arguments or operations. For example, a malformed color "
"string:"
msgstr ""

msgid ""
">>> turtle.color(\"blau\")\n"
"Traceback (most recent call last):\n"
"    ...\n"
"turtle.TurtleGraphicsError: bad color string: blau"
msgstr ""

msgid "How-to guides"
msgstr ""

msgid "This section covers some typical turtle use-cases and approaches."
msgstr ""

msgid "How to automatically begin and end filling"
msgstr ""

msgid ""
"Starting with Python 3.14, you can use the :func:`fill` :term:`context "
"manager` instead of :func:`begin_fill` and :func:`end_fill` to automatically "
"begin and end fill. Here is an example::"
msgstr ""

msgid ""
"with fill():\n"
"    for i in range(4):\n"
"        forward(100)\n"
"        right(90)\n"
"\n"
"forward(200)"
msgstr ""

msgid "The code above is equivalent to::"
msgstr ""

msgid ""
"begin_fill()\n"
"for i in range(4):\n"
"    forward(100)\n"
"    right(90)\n"
"end_fill()\n"
"\n"
"forward(200)"
msgstr ""

msgid "How to use compound shapes"
msgstr ""

msgid ""
"To use compound turtle shapes, which consist of several polygons of "
"different color, you must use the helper class :class:`Shape` explicitly as "
"described below:"
msgstr ""

msgid "Create an empty :class:`Shape` object of type \"compound\"."
msgstr ""

msgid ""
"Add as many components to this object as desired, using "
"the :meth:`~Shape.addcomponent` method."
msgstr ""

msgid "For example:"
msgstr "Sebagai contoh:"

msgid ""
">>> s = Shape(\"compound\")\n"
">>> poly1 = ((0,0), (10,-5), (0,10), (-10,-5))\n"
">>> s.addcomponent(poly1, \"red\", \"blue\")\n"
">>> poly2 = ((0,0), (10,-5), (-10,-5))\n"
">>> s.addcomponent(poly2, \"blue\", \"red\")"
msgstr ""

msgid "Now add the Shape to the Screen's shape list and use it:"
msgstr ""

msgid ""
">>> register_shape(\"myshape\", s)\n"
">>> shape(\"myshape\")"
msgstr ""

msgid "How to use the ``turtle`` module namespace"
msgstr ""

msgid ""
"Using ``from turtle import *`` is convenient - but be warned that it imports "
"a rather large collection of objects, and if you're doing anything but "
"turtle graphics you run the risk of a name conflict (this becomes even more "
"an issue if you're using turtle graphics in a script where other modules "
"might be imported)."
msgstr ""

msgid ""
"The solution is to use ``import turtle`` - ``fd()`` becomes ``turtle.fd()``, "
"``width()`` becomes ``turtle.width()`` and so on. (If typing \"turtle\" over "
"and over again becomes tedious, use for example ``import turtle as t`` "
"instead.)"
msgstr ""

msgid "How to use turtle graphics in a script"
msgstr ""

msgid ""
"It's recommended to use the ``turtle`` module namespace as described "
"immediately above, for example::"
msgstr ""

msgid ""
"import turtle as t\n"
"from random import random\n"
"\n"
"for i in range(100):\n"
"    steps = int(random() * 100)\n"
"    angle = int(random() * 360)\n"
"    t.right(angle)\n"
"    t.fd(steps)"
msgstr ""

msgid ""
"Another step is also required though - as soon as the script ends, Python "
"will also close the turtle's window. Add::"
msgstr ""

msgid "t.mainloop()"
msgstr ""

msgid ""
"to the end of the script. The script will now wait to be dismissed and will "
"not exit until it is terminated, for example by closing the turtle graphics "
"window."
msgstr ""

msgid "How to use object-oriented turtle graphics"
msgstr ""

msgid ""
":ref:`Explanation of the object-oriented interface <turtle-explanation>`"
msgstr ""

msgid ""
"Other than for very basic introductory purposes, or for trying things out as "
"quickly as possible, it's more usual and much more powerful to use the "
"object-oriented approach to turtle graphics. For example, this allows "
"multiple turtles on screen at once."
msgstr ""

msgid ""
"In this approach, the various turtle commands are methods of objects (mostly "
"of ``Turtle`` objects). You *can* use the object-oriented approach in the "
"shell, but it would be more typical in a Python script."
msgstr ""

msgid "The example above then becomes::"
msgstr ""

msgid ""
"from turtle import Turtle\n"
"from random import random\n"
"\n"
"t = Turtle()\n"
"for i in range(100):\n"
"    steps = int(random() * 100)\n"
"    angle = int(random() * 360)\n"
"    t.right(angle)\n"
"    t.fd(steps)\n"
"\n"
"t.screen.mainloop()"
msgstr ""

msgid ""
"Note the last line. ``t.screen`` is an instance of the :class:`Screen` that "
"a Turtle instance exists on; it's created automatically along with the "
"turtle."
msgstr ""

msgid "The turtle's screen can be customised, for example::"
msgstr ""

msgid ""
"t.screen.title('Object-oriented turtle demo')\n"
"t.screen.bgcolor(\"orange\")"
msgstr ""

msgid "How to use :func:`!help`"
msgstr ""

msgid ""
"The public methods of the Screen and Turtle classes are documented "
"extensively via docstrings.  So these can be used as online-help via the "
"Python help facilities:"
msgstr ""

msgid ""
"When using IDLE, tooltips show the signatures and first lines of the "
"docstrings of typed in function/method calls."
msgstr ""

msgid "Calling :func:`help` on methods or functions displays the docstrings::"
msgstr ""

msgid ""
">>> help(TurtleScreen.bgcolor)\n"
"Help on function bgcolor in module turtle:\n"
"\n"
"bgcolor(self, *args)\n"
"    Return or set the background color of the TurtleScreen.\n"
"\n"
"    Four input formats are allowed:\n"
"      - bgcolor()\n"
"        Return the current background color as a color specification\n"
"        string or as a tuple (see example).  May be used as input\n"
"        to another color(), pencolor(), fillcolor() or bgcolor() call.\n"
"      - bgcolor(colorstring)\n"
"        Set the background color to colorstring, which is a Tk color\n"
"        specification string, such as \"red\", \"yellow\", or \"#33cc8c\".\n"
"      - bgcolor((r, g, b))\n"
"        Set the background color to the RGB color represented by\n"
"        the tuple of r, g, and b.  Each of r, g, and b must be\n"
"        between 0 and colormode, where colormode is either 1.0 or 255\n"
"        (see colormode()).\n"
"      - bgcolor(r, g, b)\n"
"        Set the background color to the RGB color represented by\n"
"        r, g, and b.  Each of r, g, and b must be between 0 and\n"
"        colormode.\n"
"\n"
"    Example (for a TurtleScreen instance named screen):\n"
"        >>> screen.bgcolor(\"orange\")\n"
"        >>> screen.bgcolor()\n"
"        'orange'\n"
"        >>> screen.colormode(255)\n"
"        >>> screen.bgcolor(\"#800080\")\n"
"        >>> screen.bgcolor()\n"
"        (128.0, 0.0, 128.0)\n"
"\n"
">>> help(Turtle.penup)\n"
"Help on function penup in module turtle:\n"
"\n"
"penup(self)\n"
"    Lift the pen.\n"
"\n"
"    Aliases: penup | pu | up\n"
"\n"
"    The turtle does not draw when it moves."
msgstr ""

msgid ""
"The docstrings of the functions which are derived from methods have a "
"modified form::"
msgstr ""

msgid ""
">>> help(bgcolor)\n"
"Help on function bgcolor in module turtle:\n"
"\n"
"bgcolor(*args)\n"
"    Return or set the background color of the TurtleScreen.\n"
"\n"
"    Four input formats are allowed:\n"
"      - bgcolor()\n"
"        Return the current background color as a color specification\n"
"        string or as a tuple (see example).  May be used as input\n"
"        to another color(), pencolor(), fillcolor() or bgcolor() call.\n"
"      - bgcolor(colorstring)\n"
"        Set the background color to colorstring, which is a Tk color\n"
"        specification string, such as \"red\", \"yellow\", or \"#33cc8c\".\n"
"      - bgcolor((r, g, b))\n"
"        Set the background color to the RGB color represented by\n"
"        the tuple of r, g, and b.  Each of r, g, and b must be\n"
"        between 0 and colormode, where colormode is either 1.0 or 255\n"
"        (see colormode()).\n"
"      - bgcolor(r, g, b)\n"
"        Set the background color to the RGB color represented by\n"
"        r, g, and b.  Each of r, g, and b must be between 0 and\n"
"        colormode.\n"
"\n"
"    Example:\n"
"        >>> bgcolor(\"orange\")\n"
"        >>> bgcolor()\n"
"        'orange'\n"
"        >>> colormode(255)\n"
"        >>> bgcolor(\"#800080\")\n"
"        >>> bgcolor()\n"
"        (128.0, 0.0, 128.0)\n"
"\n"
">>> help(penup)\n"
"Help on function penup in module turtle:\n"
"\n"
"penup()\n"
"    Lift the pen.\n"
"\n"
"    Aliases: penup | pu | up\n"
"\n"
"    The turtle does not draw when it moves."
msgstr ""

msgid ""
"These modified docstrings are created automatically together with the "
"function definitions that are derived from the methods at import time."
msgstr ""

msgid "Translation of docstrings into different languages"
msgstr ""

msgid ""
"There is a utility to create a dictionary the keys of which are the method "
"names and the values of which are the docstrings of the public methods of "
"the classes Screen and Turtle."
msgstr ""

msgid ""
"Write the docstring dictionary to a Python script. The dictionary is written "
"to the file :file:`{filename}.py`. It is intended to serve as a template for "
"translating the docstrings into different languages. This function has to be "
"called explicitly. It is not used by the turtle graphics classes."
msgstr ""

msgid ""
"If you (or your students) want to use :mod:`!turtle` with online help in "
"your native language, you have to translate the docstrings and save the "
"resulting file as, for example, :file:`turtle_docstringdict_german.py`."
msgstr ""

msgid ""
"If you have an appropriate entry in your :file:`turtle.cfg` file this "
"dictionary will be read in at import time and will replace the original "
"English docstrings."
msgstr ""

msgid ""
"At the time of this writing there are docstring dictionaries in German and "
"in Italian.  (Requests please to glingl@aon.at.)"
msgstr ""

msgid "How to configure Screen and Turtles"
msgstr ""

msgid ""
"The built-in default configuration mimics the appearance and behaviour of "
"the old turtle module in order to retain best possible compatibility with it."
msgstr ""

msgid ""
"If you want to use a different configuration which better reflects the "
"features of this module or which better fits to your needs, for example for "
"use in a classroom, you can prepare a configuration file ``turtle.cfg`` "
"which will be read at import time and modify the configuration according to "
"its settings."
msgstr ""

msgid ""
"The built-in configuration would correspond to the following ``turtle.cfg``:"
msgstr ""

msgid ""
"width = 0.5\n"
"height = 0.75\n"
"leftright = None\n"
"topbottom = None\n"
"canvwidth = 400\n"
"canvheight = 300\n"
"mode = standard\n"
"colormode = 1.0\n"
"delay = 10\n"
"undobuffersize = 1000\n"
"shape = classic\n"
"pencolor = black\n"
"fillcolor = black\n"
"resizemode = noresize\n"
"visible = True\n"
"language = english\n"
"exampleturtle = turtle\n"
"examplescreen = screen\n"
"title = Python Turtle Graphics\n"
"using_IDLE = False"
msgstr ""

msgid "Short explanation of selected entries:"
msgstr ""

msgid ""
"The first four lines correspond to the arguments of the :func:`Screen.setup "
"<setup>` method."
msgstr ""

msgid ""
"Line 5 and 6 correspond to the arguments of the "
"method :func:`Screen.screensize <screensize>`."
msgstr ""

msgid ""
"*shape* can be any of the built-in shapes, such as arrow or turtle. For more "
"information, see :func:`shape`."
msgstr ""

msgid ""
"If you want to use no fill color (that is, make the turtle transparent), you "
"have to write ``fillcolor = \"\"`` (but all nonempty strings must not have "
"quotes in the cfg file)."
msgstr ""

msgid ""
"If you want the turtle's appearance to reflect its state, you have to set "
"``resizemode = auto``."
msgstr ""

msgid ""
"If you set, for example, ``language = italian`` the "
"docstringdict :file:`turtle_docstringdict_italian.py` will be loaded at "
"import time (if present on the import path, for example, in the same "
"directory as :mod:`!turtle`)."
msgstr ""

msgid ""
"The entries *exampleturtle* and *examplescreen* define the names of these "
"objects as they occur in the docstrings.  The transformation of method-"
"docstrings to function-docstrings will delete these names from the "
"docstrings."
msgstr ""

msgid ""
"*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its "
"``-n`` switch (\"no subprocess\").  This will prevent :func:`exitonclick` "
"from entering the mainloop."
msgstr ""

msgid ""
"There can be a :file:`turtle.cfg` file in the directory where :mod:`!turtle` "
"is stored and an additional one in the current working directory.  The "
"latter will override the settings of the first one."
msgstr ""

msgid ""
"The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file.  "
"You can study it as an example and see its effects when running the demos "
"(preferably not from within the demo-viewer)."
msgstr ""

msgid "Explanation"
msgstr ""

msgid ""
"A turtle object draws on a screen object, and there are a number of key "
"classes in the turtle object-oriented interface that can be used to create "
"them and relate them to each other."
msgstr ""

msgid ""
"A :class:`Turtle` instance will automatically create a :class:`Screen` "
"instance if one is not already present."
msgstr ""

msgid ""
"``Turtle`` is a subclass of :class:`RawTurtle`, which *doesn't* "
"automatically create a drawing surface - a *canvas* will need to be provided "
"or created for it. The *canvas* can be a :class:`!"
"tkinter.Canvas`, :class:`ScrolledCanvas` or :class:`TurtleScreen`."
msgstr ""

msgid ""
":class:`TurtleScreen` is the basic drawing surface for a "
"turtle. :class:`Screen` is a subclass of ``TurtleScreen``, and "
"includes :ref:`some additional methods <screenspecific>` for managing its "
"appearance (including size and title) and behaviour. ``TurtleScreen``'s "
"constructor needs a :class:`!tkinter.Canvas` or a :class:`ScrolledCanvas` as "
"an argument."
msgstr ""

msgid ""
"The functional interface for turtle graphics uses the various methods of "
"``Turtle`` and ``TurtleScreen``/``Screen``. Behind the scenes, a screen "
"object is automatically created whenever a function derived from a "
"``Screen`` method is called. Similarly, a turtle object is automatically "
"created whenever any of the functions derived from a Turtle method is called."
msgstr ""

msgid ""
"To use multiple turtles on a screen, the object-oriented interface must be "
"used."
msgstr ""

msgid ":mod:`!turtledemo` --- Demo scripts"
msgstr ""

msgid ""
"The :mod:`!turtledemo` package includes a set of demo scripts.  These "
"scripts can be run and viewed using the supplied demo viewer as follows::"
msgstr ""

msgid "python -m turtledemo"
msgstr ""

msgid ""
"Alternatively, you can run the demo scripts individually.  For example, ::"
msgstr ""

msgid "python -m turtledemo.bytedesign"
msgstr ""

msgid "The :mod:`!turtledemo` package directory contains:"
msgstr ""

msgid ""
"A demo viewer :file:`__main__.py` which can be used to view the sourcecode "
"of the scripts and run them at the same time."
msgstr ""

msgid ""
"Multiple scripts demonstrating different features of the :mod:`!turtle` "
"module.  Examples can be accessed via the Examples menu.  They can also be "
"run standalone."
msgstr ""

msgid ""
"A :file:`turtle.cfg` file which serves as an example of how to write and use "
"such files."
msgstr ""

msgid "The demo scripts are:"
msgstr ""

msgid "Name"
msgstr "Nama"

msgid "Description"
msgstr "Deskripsi"

msgid "Features"
msgstr ""

msgid "``bytedesign``"
msgstr ""

msgid "complex classical turtle graphics pattern"
msgstr ""

msgid ":func:`tracer`, :func:`delay`, :func:`update`"
msgstr ""

msgid "``chaos``"
msgstr ""

msgid ""
"graphs Verhulst dynamics, shows that computer's computations can generate "
"results sometimes against the common sense expectations"
msgstr ""

msgid "world coordinates"
msgstr ""

msgid "``clock``"
msgstr ""

msgid "analog clock showing time of your computer"
msgstr ""

msgid "turtles as clock's hands, :func:`ontimer`"
msgstr ""

msgid "``colormixer``"
msgstr ""

msgid "experiment with r, g, b"
msgstr ""

msgid ":func:`ondrag`"
msgstr ":func:`ondrag`"

msgid "``forest``"
msgstr ""

msgid "3 breadth-first trees"
msgstr ""

msgid "randomization"
msgstr ""

msgid "``fractalcurves``"
msgstr ""

msgid "Hilbert & Koch curves"
msgstr ""

msgid "recursion"
msgstr ""

msgid "``lindenmayer``"
msgstr ""

msgid "ethnomathematics (Indian kolams)"
msgstr ""

msgid "L-System"
msgstr ""

msgid "``minimal_hanoi``"
msgstr ""

msgid "Towers of Hanoi"
msgstr ""

msgid "Rectangular Turtles as Hanoi discs (:func:`shape`, :func:`shapesize`)"
msgstr ""

msgid "``nim``"
msgstr ""

msgid ""
"play the classical nim game with three heaps of sticks against the computer."
msgstr ""

msgid "turtles as nimsticks, event driven (mouse, keyboard)"
msgstr ""

msgid "``paint``"
msgstr ""

msgid "super minimalistic drawing program"
msgstr ""

msgid ":func:`onclick`"
msgstr ":func:`onclick`"

msgid "``peace``"
msgstr ""

msgid "elementary"
msgstr ""

msgid "turtle: appearance and animation"
msgstr ""

msgid "``penrose``"
msgstr ""

msgid "aperiodic tiling with kites and darts"
msgstr ""

msgid ":func:`stamp`"
msgstr ":func:`stamp`"

msgid "``planet_and_moon``"
msgstr ""

msgid "simulation of gravitational system"
msgstr ""

msgid "compound shapes, :class:`Vec2D`"
msgstr ""

msgid "``rosette``"
msgstr ""

msgid "a pattern from the Wikipedia article on turtle graphics"
msgstr ""

msgid ":func:`clone`, :func:`undo`"
msgstr ":func:`clone`, :func:`undo`"

msgid "``round_dance``"
msgstr ""

msgid "dancing turtles rotating pairwise in opposite direction"
msgstr ""

msgid ""
"compound "
"shapes, :func:`clone`, :func:`shapesize`, :func:`tilt`, :func:`get_shapepoly`, :func:`update`"
msgstr ""

msgid "``sorting_animate``"
msgstr ""

msgid "visual demonstration of different sorting methods"
msgstr ""

msgid "simple alignment, randomization"
msgstr ""

msgid "``tree``"
msgstr ""

msgid "a (graphical) breadth first tree (using generators)"
msgstr ""

msgid ":func:`clone`"
msgstr ":func:`clone`"

msgid "``two_canvases``"
msgstr ""

msgid "simple design"
msgstr ""

msgid "turtles on two canvases"
msgstr ""

msgid "``yinyang``"
msgstr ""

msgid "another elementary example"
msgstr ""

msgid ":func:`circle`"
msgstr ":func:`circle`"

msgid "Have fun!"
msgstr ""
