paint function

void paint(
  1. {required Canvas canvas,
  2. required Rect rect,
  3. required ShapeMarkerType shapeType,
  4. required Paint paint,
  5. ShapeMarkerType? overlayMarkerType,
  6. Path? path,
  7. double? elevation,
  8. Color? elevationColor,
  9. Paint? borderPaint,
  10. double? degree,
  11. double? startAngle,
  12. double? endAngle}
)

Draws the different marker shapes.

Implementation

void paint(
    {required Canvas canvas,
    required Rect rect,
    required ShapeMarkerType shapeType,
    required Paint paint,
    ShapeMarkerType? overlayMarkerType,
    Path? path,
    double? elevation,
    Color? elevationColor,
    Paint? borderPaint,
    double? degree,
    double? startAngle,
    double? endAngle}) {
  _processShapes(
      canvas: canvas,
      rect: rect,
      shapeType: shapeType,
      paint: paint,
      path: path ?? Path(),
      borderPaint: borderPaint,
      isNeedToReturnPath: false,
      elevation: elevation,
      elevationColor: elevationColor,
      overlayMarkerType: overlayMarkerType,
      degree: degree,
      startAngle: startAngle,
      endAngle: endAngle);
}