Home > Articles

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Summary

When possible, you will want to draw your objects using the basic shapes—rectangle, circle, and ellipse—covered in this hour. Paths, used to define other shapes, can contain hundreds of coordinates and path commands. Their textual information does not leave many clues as to their visual interpretation, whereas basic shapes use element names that are easy to visualize.

On the other hand, the world is all the more exciting of a place because it doesn't confine every object to the rules of a rectangle, ellipse, or line. As such, you will encounter incredibly complex illustrations that are only possible using paths. What's more, you can describe your paths using absolute or relative coordinates, allowing you some flexibility in how to describe your shapes. Whichever method you prefer (whether basic shapes or paths), you will need to have a solid grasp on both, as you will invariably need their services to tackle certain drawings.

Now that you've examined basic SVG drawing functionalities, the next hour will be spent learning how to apply style information to them.

  • + Share This
  • 🔖 Save To Your Account