Closed leenattress closed 4 years ago
Thanks for this bug report.
This was indeed a bug in the Canvas2D implementation. It is fixed in 2d16807 and will be included in next release.
For 1 pixel rectangles, I recommend to use rectf
instead of rect
(rectf
performs better than rect
in webGL implementation). Note that rectf
use paper
color instead of pen
color.
Colors do starts at 0
and should have the same displayed in the editor. If you get a different result, maybe something was modified in the palette? Please check again and if the problem persist, open another issue.
I would expect a single pixel at 10, 10.
But
gives this effect.
It would also seem that the editor gives 0 as black and 1 as 'white' in the default project, but its actually
1
and2
that is black and white.perhaps the numbers start at 1?