Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
How can I join multiple lines to one selectable group with FabricJS?

I am trying to get all drawn lines into one selectable group to achieve the same result as on the attached screenshot.

enter image description here

I tried to create new group and add the line to this group:

new fabric.Group([line], {
            hasRotatingPoint: false,
            lockRotation: true,
        });

But problem is that I'm setting the new line properties after the mousemove event.

I would like to ask how to add lines to have all lines selectable as one piece at the same time?

The JSFiddle is attached below:

https://jsfiddle.net/f3n6w0yg/10/

Thanks for any advice.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!