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

132
Views
Conecta dos elementos HTML con bordes suaves

Quiero dibujar una figura como esta.
ingrese la descripción de la imagen aquí

Utilicé el lienzo para dibujar la línea, pero no pude dibujar líneas personalizadas.

 <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>Line Joining</title> </head> <body> <canvas id="DemoCanvas" width="400" height="400"></canvas> <script> var canvas = document.getElementById('DemoCanvas'); if (canvas.getContext) { var ctx = canvas.getContext("2d"); var lStart = 50; var lEnd = 200; var yStart = 20; ctx.beginPath(); ctx.lineWidth = 25; // Use a round corner. ctx.beginPath(); ctx.lineJoin = "round"; ctx.moveTo(50, 140); ctx.lineTo(150, 140); ctx.lineTo(150, 260); ctx.stroke(); } </script> </body> </html>

También probé jQuery arrastrable y obtuve resultados como la figura a continuación. ingrese la descripción de la imagen aquí

Amablemente sugiérame cómo se pueden dibujar este tipo de figuras usando HTML y jQuery/JavaScript

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!