This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
Should strokeWidth = 0 cause no stroke to render? #66
Open
Description
I expected setting strokeWidth={0}
to cause no stroke to be rendered (even when stroke
color is set).
However, the canvas draws it anyway because it doesn't accept a lineWidth
of 0 (see here).
Here _stroke
is only set when color
is set. Could we add an extra condition so that it also checks for width > 0
?