CPDFLineAnnotation constructor

CPDFLineAnnotation({
  1. required CPDFAnnotationType type,
  2. String title = "",
  3. required int page,
  4. String content = "",
  5. required String uuid,
  6. DateTime? createDate,
  7. CPDFAnnotationMarkState markState = CPDFAnnotationMarkState.unmarked,
  8. CPDFAnnotationReviewState reviewState = CPDFAnnotationReviewState.none,
  9. CPDFRectF rect = const CPDFRectF.isEmpty(),
  10. required double borderWidth,
  11. required Color borderColor,
  12. double borderAlpha = 255,
  13. required Color fillColor,
  14. double fillAlpha = 255,
  15. CPDFLineType lineHeadType = CPDFLineType.none,
  16. CPDFLineType lineTailType = CPDFLineType.none,
  17. double dashGap = 0,
  18. List<List<double>>? points,
})

Implementation

CPDFLineAnnotation({
  required super.type,
  super.title,
  required super.page,
  super.content,
  required super.uuid,
  super.createDate,
  super.markState,
  super.reviewState,
  super.rect = const CPDFRectF.isEmpty(),
  required this.borderWidth,
  required this.borderColor,
  this.borderAlpha = 255,
  required this.fillColor,
  this.fillAlpha = 255,
  this.lineHeadType = CPDFLineType.none,
  this.lineTailType = CPDFLineType.none,
  this.dashGap = 0,
  this.points,
});