0
what is this situation kindly help SHAPES
Which shape is indicated by the following path? <path d="M0 0 L0 100 L100 100 L100 0 Z" />
11 Respostas
+ 14
Hello,
Step by step interpretation::
M0 0: move to (absolute) position (0, 0) (origin)
L0 100: draw a line from current point (0, 0) to (0, 100) (vertical line)
L100 100: draw a line from current point (0, 100) to (100, 100) (horizontal line)
L100 0: draw a line from current point (100, 100) to (100, 0) (vertical line)
Z: close path; in other words, draw a line to position (0, 0)
Result::
(0, 0) (100, 0)
()------------()
| |
| |
| |
()------------()
(0, 100) (100, 100)
==> it's a Square
0
thanks i got it
0
Square
0
Which shape is indicated by the following path?
<path d="M0 0 L0 100
L100 100 L100 0 Z" />
the shape is square
0
Square
0
Square
0
square, ofcource
I think all we tried to cheat
0
thank you so much
0
by which programming language to become a hacker
0
The answer is a square. It has four points of 100. Thanks dude for the cheat
0
Result::
(0, 0) (100, 0)
()------------()
| |
| |
| |
()------------()
(0, 100) (100, 100)
==> it's a Square