# IAT 167 Lecture Notes - Lecture 1: Ellipse, Radian

40 views1 pages
13 Sep 2018
School
Course

For unlimited access to Class Notes, a Class+ subscription is required.

Lecture -1
Window Size: size(w, h);
Colors: (R, G, B, A); [0-255]
e.g. noFill ();
noStroke();
strokeWeight();
fill (255);
[arguments (values)]
Border all around:
e.g. arc(x, y, width, height, starting angle, ending angle, CLOSE);
Drawing Shapes:
[parameter (placements)]
line(x1,y1,x2,y2);
triangle(x1,y1,x2,y2,x3,y3);
rect(x, y, width, height); [upper left corner]
ellipse(x, y, width, height); [center]
[method]
arc(x, y, width, height, starting angle, ending angle); [center]
[positive clockwise (in radians)]
[starting angle smaller than ending angle]
curve(cx1, cy1, x1, y1, x2, y2, cx1, cy2);
[beginning control point] [ending control point]
Unlock document

This preview shows half of the first page of the document.
Unlock all 1 pages and 3 million more documents.

# Get access

\$10 USD/m
Billed \$120 USD annually
Homework Help
Class Notes
Textbook Notes