You develop an interactive scalable vector graphic (SVG) application.
You write the following code (Line numbers are included for reference only.):
You need to increase the size of the circle by 50 percent.
Which code segment should you insert at line 02?
A. Option A
B. Option B
C. Option C
D. Option D
Explanation:
Increase the radius (the r property) of the circle (not the graphic) by a factor 1.5.
Incorrect:
CurrentScale is used for zooming.
Reference: The HTML
<
svg
>
Element
D is incorrect. Answear B should be right.
http://www.briefmenow.org/microsoft/which-code-segment-should-you-insert-at-line-02-19/
3
0
B isn’t right either, it should be:
/* document.getElementById(‘myGraphic’).currentScale = 1.5 */
0
1
B is correct answer – tested. @chite: Your suggested solution will work too, but there is no such answer present. None of these answers work on Mozilla FF so I would suggest testing them on IE/Edge only.
0
0