What function do you need to call to get the height of the canvas?
Unit 9 Flashcard 1

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

22 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
getHeight();
2.
FLASHCARD QUESTION
Front
The anchor point of a ______ is located at its center.
Back
circle
3.
FLASHCARD QUESTION
Front
Which 2 objects share the same anchor point? Options: Circle and Rectangle, Rectangle and Web Image, Web Image and Text, Circle and Text, Rectangle and Text
Back
Rectangle and Web Image
4.
FLASHCARD QUESTION
Front
Consider the following code of a circle:
1 let circ = new Circle(50);
circ.setPosition(200, 200);
circ.setColor("blue");
add(circ);
If we wanted to move the circle 50 pixels lower, what change would we need to make?
Back
Add 50 to the second number on line 2:
1 let circ = new Circle(50);
circ.setPosition(200, 250);
circ.setColor("blue");
add(circ);
5.
FLASHCARD QUESTION
Front
If we wanted to place a rectangle with its anchor point located on the dot on the canvas, what line of code would we use? Options: rect.setPosition(300, 200); rect.setPosition(200, 300); rect.setPosition(200, -300); rect.setPosition(-300, 200);
Back
rect.setPosition(200, 300);
6.
FLASHCARD QUESTION
Front
Where is the origin of the canvas located?
Back
top left
7.
FLASHCARD QUESTION
Front
The y-coordinate decreases as you move in which direction?
Back
Down
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
Unit 9 Flashcard 1

Flashcard
•
9th - 12th Grade
22 questions
Unit 9 Flashcard 1

Flashcard
•
9th - 12th Grade
18 questions
Semester Exam Game Design Sanchez Bueno

Flashcard
•
9th - 12th Grade
15 questions
Shapes in Java Processing

Flashcard
•
9th - 12th Grade
21 questions
2024 FunComSci Mid-Term

Flashcard
•
9th - 12th Grade
15 questions
8.1 & 6.1 Review

Flashcard
•
9th - 12th Grade
18 questions
Animation and Games Review

Flashcard
•
9th - 12th Grade
20 questions
Foods 2 - 4.02 Startup Ventures

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade