How to draw a line using HTML 5 canvas and FabricJS?

Since last year we have been working closely with HTML5 Canvas and FabricJSto develop one of our product called Quick Capture. Quick Capture is chrome extension that allows you capture your browser screen, annotate it and share it over platforms like Google drive, Slack and direct link share.

We learned a lot over the year about the Canvas and FabricJS and now we would like to share that learning over series of blog.

In this article, we would sharing with you a small example of how we can draw a simple line on canvas using FabricJS library.

Following JSFiddle will give you a detail idea about how we can draw and move a line on HTML Canvas.

Stay tuned for the part two of the blog in this we would be sharing about how we could draw an Arrow using the HTML5 Canvas and FabricJS.

Happy coding !!!

· · · ·

Third Rock Techkno is a leading IT services company. We are a top-ranked web, voice and mobile app development company with over 10 years of experience. Client success forms the core of our value system.

We have expertise in the latest technologies including angular, react native, iOs, Android and more. Third Rock Techkno has developed smart, scalable and innovative solutions for clients across a host of industries.

Our team of dedicated developers combine their knowledge and skills to develop and deliver web and mobile apps that boost business and increase output for our clients.

Reasons to upgrade to Angular 7 for Web App Development

Wondering how Angular 7 helps to boost your Angular web development process? You are in the right place. Here, we are going to enlighten you on top reasons why upgrading to Angular 7 is an optimum choice in your web development.

Read More

QUIZ Game Development - Alexa Skill Development

Today I am going to explain many important concepts through Alexa gaming skill. At the end of this tutorial we shall a functioning Alexa gaming skill.

Read More

7 Tips to Hire Dedicated Developers for Your Project

Let’s face it. There is no escaping web and mobile apps. Whether you’re a one-person company, a small-medium enterprise, a startup or a large corporation, you’ve got to be mobile! Actually, not just mobile but, your online presence and functionality have got to be top-notch also.

Read More