strokePaint property

Paint get strokePaint

Paint for the widened glyph: stroke the glyph at 2 × stroke with this, under the fill. The mask keeps the band solid and blurs beyond.

Implementation

Paint get strokePaint => Paint()
  ..style = PaintingStyle.stroke
  ..strokeWidth = 2 * stroke
  ..strokeJoin = StrokeJoin.round
  ..strokeCap = StrokeCap.round
  ..color = scrim.paintColor
  ..maskFilter = blurRadius > 0
      ? MaskFilter.blur(BlurStyle.solid, blurSigma)
      : null;