Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #37535

Re: Problem drawing lines on a canvas element

Newsgroups comp.lang.javascript
Date 2019-10-12 20:36 -0700
References (1 earlier) <qnje3h$r8e$1@dont-email.me> <cee794bf-a21b-457c-8926-ebb16641c040@googlegroups.com> <d9d6a215-a01e-465e-bac9-b1ccbebb5029@googlegroups.com> <qnrejc$8o4$1@dont-email.me> <5e91ed84-fa98-40d5-bfee-e06f0ddea927@googlegroups.com>
Message-ID <ca54198e-08f5-4a13-84be-8cd0d73cdaec@googlegroups.com> (permalink)
Subject Re: Problem drawing lines on a canvas element
From "Michael Haufe (TNO)" <tno@thenewobjective.com>

Show all headers | View raw


On Saturday, October 12, 2019 at 5:50:25 PM UTC-5, dr.j.r...@gmail.com wrote:

> IMHO, there should be an endPath method (which sets the Path to ReadOnly) which a programmer could use to defend against this error, but I've not yet seen one.

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/closePath

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Problem drawing lines on a canvas element Alan <araskin@gmail.com> - 2019-10-08 21:46 -0400
  Re: Problem drawing lines on a canvas element dr.j.r.stockton@gmail.com - 2019-10-09 02:25 -0700
    Re: Problem drawing lines on a canvas element dr.j.r.stockton@gmail.com - 2019-10-11 15:41 -0700
      Re: Problem drawing lines on a canvas element Alan <araskin@gmail.com> - 2019-10-11 22:44 -0400
        Re: Problem drawing lines on a canvas element dr.j.r.stockton@gmail.com - 2019-10-12 15:50 -0700
          Re: Problem drawing lines on a canvas element "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-10-12 20:36 -0700
            Re: Problem drawing lines on a canvas element luserdroog <luser.droog@gmail.com> - 2019-10-12 22:14 -0700

csiph-web