Activities/Turtle Art: Difference between revisions

Line 698: Line 698:
!Methods and data attributes!!Example!!Notes
!Methods and data attributes!!Example!!Notes
|-
|-
|set_fullscreen(self)||lc.tw.set_fullscreen()||
|set_fullscreen(self)||lc.tw.set_fullscreen()||Hides the Sugar toolbar
|-
|-
|set_cartesian(self, flag)||lc.tw.set_cartesian(True)||True will make the overlay visible; False will make it invisible
|set_cartesian(self, flag)||lc.tw.set_cartesian(True)||True will make the overlay visible; False will make it invisible
Line 713: Line 713:
!Methods and data attributes!!Example!!Notes
!Methods and data attributes!!Example!!Notes
|-
|-
|clearscreen(self)||lc.tw.canvas.clearscreen()||
|clearscreen(self)||lc.tw.canvas.clearscreen()||Clears the screen and resets all turtle and pen attributes to default values
|-
|-
|setpen(self, flag)||lc.tw.canvas.setpen(True)||True will set the pen "down", enabling drawing; False will set the pen "up"
|setpen(self, flag)||lc.tw.canvas.setpen(True)||True will set the pen "down", enabling drawing; False will set the pen "up"