getShapesPath function

Path getShapesPath(
  1. {Canvas? canvas,
  2. Paint? paint,
  3. Paint? borderPaint,
  4. required Rect rect,
  5. required ShapeMarkerType shapeType,
  6. Path? path,
  7. double? pentagonRotation = -pi / 2,
  8. double? radius,
  9. double? degree,
  10. double? startAngle,
  11. double? endAngle}
)

Get the various shape path

Implementation

Path getShapesPath(
    {Canvas? canvas,
    Paint? paint,
    Paint? borderPaint,
    required Rect rect,
    required ShapeMarkerType shapeType,
    Path? path,
    double? pentagonRotation = -pi / 2,
    double? radius,
    double? degree,
    double? startAngle,
    double? endAngle}) {
  return _processShapes(
      canvas: canvas ?? Canvas(PictureRecorder()),
      paint: paint ?? Paint(),
      borderPaint: borderPaint,
      rect: rect,
      path: path ?? Path(),
      shapeType: shapeType,
      isNeedToReturnPath: true,
      pentagonRotation: pentagonRotation,
      radius: radius,
      degree: degree,
      startAngle: startAngle,
      endAngle: endAngle);
}