Cascade Operator

Give a ClosedPath class like so:

In the main, we call its functions to draw a shape, you’ll do something like so:

However, using the cascade operator, we can simply it to this:

Notice there is no semi-colon in the end. Instead, we use .. operator to depict calling another function on the same instance.