stroke method

void stroke()

Implementation

void stroke() {
  addAction((Canvas canvas, Size size) {
    Paint paint = Paint()
      ..color = strokeStyle
      ..strokeJoin = lineJoin
      ..strokeCap = lineCap
      ..strokeWidth = lineWidth
      ..strokeMiterLimit = miterLimit
      ..style = PaintingStyle.stroke;
    canvas.drawPath(path2d.path, paint);
  });
}