diff --git a/posts/_posts/2012-6-25-fabric-intro-part-1.html b/posts/_posts/2012-6-25-fabric-intro-part-1.html index 21283022a..a71e54ddf 100644 --- a/posts/_posts/2012-6-25-fabric-intro-part-1.html +++ b/posts/_posts/2012-6-25-fabric-intro-part-1.html @@ -272,7 +272,7 @@

Canvas

Now that we covered objects in more detail, let's get back to canvas.

-

First thing you can see in all of Fabric examples if creation of canvas object — new fabric.Canvas('...'). fabric.Canvas serves as a wrapper around <canvas> element, and is responsible for managing all of the fabric objects on that particular canvas. It takes an id of an element, and returns an instance of fabric.Canvas.

+

First thing you can see in all of Fabric examples is creation of canvas object — new fabric.Canvas('...'). fabric.Canvas serves as a wrapper around <canvas> element, and is responsible for managing all of the fabric objects on that particular canvas. It takes an id of an element, and returns an instance of fabric.Canvas.

We can add objects onto it, reference them off of it, or remove them: