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

153
Views
How to add paint bucket fill in HTML5 canvas

I am making a drawing app with HTML5 CSS and JS. The purpose of it is to act like the usual drawing app; draw, layers, line size, and a paint bucket fill.

I don't know how to do this. I have tried ctx.fillRect but it cant fill in between the lines, and I don't think I can make a variable for the width and height of the lines. I have searched the entire face of Google and have found nothing.

Stack Overflow is my last hope. Please help.

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!