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

Flashcard
•
Quizizz Content
•
Computers
•
9th - 12th Grade
•
Hard
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
Explore all questions with a free account
Similar Resources on Quizizz
14 questions
Sum and Difference Formulas

Flashcard
•
9th - 12th Grade
15 questions
Exact Values of Trig Functions

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

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

Flashcard
•
9th - 12th Grade
15 questions
Unit 1 Review CMU CS Academy

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

Flashcard
•
9th - 12th Grade
10 questions
CMU Python Intro Flashcard

Flashcard
•
9th - 12th Grade
15 questions
Co-Terminal Angles and Converting Degrees and Radians

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

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

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
EOC Math 1 Review

Quiz
•
9th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Act 1 of Romeo and Juliet

Quiz
•
9th Grade
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade