RomanBase / hand_signature

A Flutter plugin providing signature pad for drawing smooth signatures.
https://pub.dev/packages/hand_signature
MIT License
108 stars 25 forks source link

how to draw dash path #34

Closed ntvsp closed 1 year ago

ntvsp commented 1 year ago

case SignatureDrawType.dot: final paint = dashPaint; for (var path in paths) { paint.strokeWidth = width; if (path.isFilled) { canvas.drawPath( dashPath(PathUtil.toLinePath(path.lines), dashArray: CircularIntervalList([ 10, ])), paint); } }

i cant export to image, toLinePath(path.lines), path.lines is null?

RomanBase commented 1 year ago

Hey, please can you attach full example and provide more description about it ?