drawPath2 method
Implementation
void drawPath2(Canvas canvas, Paint paint, Path p1, Path? p2) {
if (_notDraw()) {
return;
}
Path path = p1;
if (p2 != null) {
path = Path.combine(PathOperation.difference, p1, p2);
}
paint.style = PaintingStyle.fill;
canvas.drawPath(path, paint);
border?.drawPath(canvas, paint, p1, drawDash: true);
if (shadow != null) {
path.drawShadows(canvas, paint, p1, [shadow!]);
}
}