Category: How to
We can use PaperScope to achieve this. The following is a simple example. I am currently building a complex application which includes drawing architectural layouts. And I need to make multiple canvases to be working in VueJS loops. Please comment and let me know if anyone has good Ideas about how I can make that…
Usually on an active menu we apply a slightly different style. Like look at the bootstrap example below. Notice how the font color of home is slightly darker than the rest of the menus, indicating how it is an active menu.
Paper JS support Rounded Rectangles but it applies it to all corners. In my project I require rounded corners to be applied only to selected corners. Like as shown below. After searching hours on the official document and searching internet for solutions I decided to create a function myself.