ShapeAnnotation constructor

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

Implementation

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