Single Choice Easy

QHow do you recover a previously saved coordinate system?

ID: #5262 Javascript Graphics and Rendering MCQ 137 views
Question Info
#5262Q ID
EasyDifficulty
Javascript Graphics and Rendering MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A restore()
  • B getback()
  • C set()
  • D back()
Correct Answer

Explanation

The saved coordinate system is restored by invoking the canvas object's restore() method.
The restore() method clears the canvas by "popping" the most recently saved state from the stack.

Share This Question

Challenge a friend or share with your study group.