isDebug decide the paint needed to draw the line
final Paint? Function(T lineFrom, T lineTwo)? onDrawLine;