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
21 questions
2024 FunComSci Mid-Term

Flashcard
•
9th - 12th Grade
15 questions
Sum and Difference Identities 2

Flashcard
•
10th - 12th Grade
15 questions
Section 312: onMouseMove

Flashcard
•
9th - 12th Grade
15 questions
1.01 Remember culinary nutrition career pathways (PART I)

Flashcard
•
9th - 12th Grade
18 questions
Foods II 1.01 Career Pathways/Lean Canvas Model flashcard

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

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

Flashcard
•
9th - 12th Grade
15 questions
Unit Circle #3B - Third-Quadrant Angles

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University