borderPaint property

Paint get borderPaint

Gets a Paint object with its color set to the border color of the maskOptions, style set to PaintingStyle.stroke and stroke width set to the stroke width of the maskOptions.

Implementation

Paint get borderPaint => Paint()
  ..color = maskOptions.borderColor
  ..style = PaintingStyle.stroke
  ..strokeWidth = maskOptions.strokeWidth;