canvas-constructor@0.1.6
Pre-release
Pre-release
Added
setStrokeWidth()
to change stroke/line's width.beginPath()
to start making paths.closePath()
to start closing paths.createLinearGradient()
to create linear gradients.createRadialGradient()
to create radial gradients.arc()
andarcTo()
, to create arcs.quadraticCurveTo()
to create quadratic Bèzier curves.bezierCurveTo()
to create cubic Bèzier curves.lineTo()
to connect lines.moveTo()
to move the starting point of a path to any (x, y) coordinates.
Changed
- Added default
'#000000'
for thesetStroke()
method. addImage()
removedthis.save()
andthis.restore()
so users can use their own paths.
Fixed
- Examples for
measureText()
.