Closed rkalapuc closed 5 years ago
vlineto
and hlineto
take a single coordinate as input, since the other one is fixed. So you example should read
var path = Path()
.moveto(10, 20)
.vlineto(30)
.hlineto(25)
.qcurveto(27, 30, 32, 27)
.translate(10, 10)
.closepath();
Good catch! There was also another mistake in that function, now it should be fine. Going to release 0.4.8
Steps to reproduce:
Exception: