Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #39143
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2020-11-14 08:30 -0800 |
| References | <b59344c2-fe89-45c7-9d4f-0b8961f9e866n@googlegroups.com> <i16urnFu046U1@mid.individual.net> <dbb87995-ce89-4b36-a4c3-d265b39b3830n@googlegroups.com> <i1abd3FjqaeU1@mid.individual.net> |
| Message-ID | <d7855dd9-2301-4337-9cdb-e8c0d3d4cdden@googlegroups.com> (permalink) |
| Subject | Re: Problems with Canvas fade in |
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
On Saturday, November 14, 2020 at 9:28:45 AM UTC-6, Arno Welzel wrote:
> Does clearRect() also use the current fill style?
clearRect() sets the area to rgba(0,0,0,0)
Given that the OP defined the context as:
ctx = canvas.getContext('2d', {alpha: false});
This will be visibly black instead of transparent.
<https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearRect>
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problems with Canvas fade in "aaron...@gmail.com" <aaronngray@gmail.com> - 2020-11-12 15:32 -0800
Re: Problems with Canvas fade in Arno Welzel <usenet@arnowelzel.de> - 2020-11-13 09:36 +0100
Re: Problems with Canvas fade in "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-11-13 07:02 -0800
Re: Problems with Canvas fade in Arno Welzel <usenet@arnowelzel.de> - 2020-11-14 16:28 +0100
Re: Problems with Canvas fade in "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-11-14 08:30 -0800
Re: Problems with Canvas fade in "aaron...@gmail.com" <aaronngray@gmail.com> - 2020-11-20 09:35 -0800
Re: Problems with Canvas fade in "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-11-20 10:12 -0800
csiph-web