问题
enter image description hereI'm having a problem with my graphic objects on canvas. My Rectangle consists out of two triangles. But when I fill the path of both triangles a little white line in between of them occurs. It's on the diagonal of the rectangle.
s.initQuadrangle(new Point3D([100, 100, 0]), new Point3D([200, 100, 0]), new Point3D([200, 200, 0]), new Point3D([100, 200, 0]));
The points are not floats as you can see.
来源:https://stackoverflow.com/questions/50518178/js-canvas-white-line-between-2-objects