Home | History | Annotate | Download | only in lib-tk

Lines Matching refs:pen

119                'RawTurtle', 'Turtle', 'RawPen', 'Pen', 'Shape', 'Vec2D']
132 'pen', 'pencolor', 'pendown', 'pensize', 'penup', 'pos', 'position',
1671 Move turtle to an absolute position. If the pen is down,
1760 >>> pen = Turtle()
1761 >>> pen.forward(77)
1762 >>> turtle.distance(pen)
1865 current pen position. Draw the arc in counterclockwise direction
1984 self.pen(resizemode=rmode)
2006 self.pen(pensize=width)
2010 """Pull the pen up -- no drawing when moving.
2021 self.pen(pendown=False)
2024 """Pull the pen down -- drawing when moving.
2035 self.pen(pendown=True)
2038 """Return True if pen is down, False if it's up.
2088 self.pen(speed=speed)
2132 self.pen(pencolor=pcolor, fillcolor=fcolor)
2169 self.pen(pencolor=color)
2205 self.pen(fillcolor=color)
2220 self.pen(shown=True)
2236 self.pen(shown=False)
2250 def pen(self, pen=None, **pendict):
2251 """Return or set the pen's attributes.
2254 pen -- a dictionary with some or all of the below listed keys.
2258 Return or set the pen's attributes in a 'pen-dictionary'
2272 pen()-call to restore the former pen-state. Moreover one
2274 This can be used to set several pen attributes in one statement.
2278 >>> turtle.pen(fillcolor="black", pencolor="red", pensize=10)
2279 >>> turtle.pen()
2283 >>> penstate=turtle.pen()
2286 >>> turtle.pen()
2290 >>> p.pen(penstate, fillcolor="green")
2291 >>> p.pen()
2308 if not (pen or pendict):
2311 if isinstance(pen, dict):
2312 p = pen
2322 self.undobuffer.push(("pen", _p_buf))
2521 """Delete all of pen's drawings"""
2692 Return or set the pen's attributes x/y-stretchfactors and/or outline.
2719 self.pen(resizemode="user",
2745 self.pen(resizemode="user", tilt=tilt)
2954 If n is None, delete all of pen's stamps,
2977 """Move the pen to the point end, thereby drawing a line
2978 if pen is down. All other methodes for turtle movement depend
3095 """Turns pen clockwise by angle.
3250 pen = self.pen()
3262 self.pen(pen)
3288 If move is True, the pen is moved to the bottom-right corner
3475 across the screen thereby producing handdrawings (if pen is
3508 elif action == "pen":
3509 TPen.pen(self, data[0])
3709 Pen = Turtle