Book Image

TypeScript Essentials

By : Christopher Nance
Book Image

TypeScript Essentials

By: Christopher Nance

Overview of this book

Table of Contents (15 chapters)

Chapter 5. Creating a Simple Drawing Application

We have covered a lot of information in a very short period of time. Let's take that information and put it to use; let's build a full application rather than just looking at code samples. We are going to build a web-based drawing application similar to Paint, but it will be hosted in the browser. The topics we will cover in this chapter include:

  • Creating the project

  • Basic shapes

  • Drawing objects on the canvas

  • Managing the canvas state and decision making

  • Keeping track of the application state