Easy Draw Module
Search
⌃K
About the Project
Student Developed Art
🐍
Python
Setup and Install
Starter Template
Example Code
Style Guide
Module Reference
The Drawing Canvas
Colors
Drawing Shapes
Text and Images
Property Getting and Setting
Object Methods
Event Handling
Saving Your Drawing
Power Users
Issues and Features Coming Soon...
Python Curriculum
Unit 1: Drawing Basics
Unit 2: Drawing Algorithms
Unit 3: Functions and Events
☕
Java
Coming Soon...
Java Curriculum
Unit 1: Using Easy Draw Objects
Unit 2: If Statements and Drawings
Unit 3: Iteration and Drawings
Unit 4: Methods and Classes to Abstract Drawings
Tabs
Powered By
GitBook
Object Methods
.rotate(angle)
Rotates an Easy Draw object by a specified amount of degrees.
Positive numbers rotate the shape clockwise (to the right). Negative numbers rotate the shape counter-clockwise (to the left).
Example:
rect1
.
rotate
(
45
)
Unsupported objects:
Image