PolylineAnnotation constructor

PolylineAnnotation({
  1. String? id,
  2. required List<double> bbox,
  3. String? createdAt,
  4. required int pageIndex,
  5. required Color? strokeColor,
  6. required double? strokeWidth,
  7. required List<List<double>> points,
  8. String? startStyle,
  9. String? endStyle,
  10. Color? fillColor,
  11. BorderStyle? borderStyle,
  12. List<double>? borderDashArray,
  13. double? cloudyBorderIntensity,
  14. List<double>? cloudyBorderInset,
  15. String? creatorName,
  16. double opacity = 1.0,
  17. int? pdfObjectId,
  18. List<AnnotationFlag>? flags,
  19. String? updatedAt,
  20. String? name,
  21. String? subject,
  22. bool hidden = false,
  23. String? note,
  24. MeasurementScale? measurementScale,
  25. MeasurementPrecision? measurementPrecision,
  26. List<double>? measurementBBox,
  27. Map<String, dynamic>? customData,
})

Implementation

PolylineAnnotation({
  super.id,
  required super.bbox,
  super.createdAt,
  required super.pageIndex,
  required super.strokeColor,
  required super.strokeWidth,
  required this.points,
  this.startStyle,
  this.endStyle,
  super.fillColor,
  super.borderStyle,
  super.borderDashArray,
  super.cloudyBorderIntensity,
  super.cloudyBorderInset,
  super.creatorName,
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden,
  super.note,
  super.measurementScale,
  super.measurementPrecision,
  super.measurementBBox,
  super.customData,
}) : super(type: AnnotationType.polyline);