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. CPDFRectF rect = const CPDFRectF.isEmpty(),
  8. required double borderWidth,
  9. required Color borderColor,
  10. double borderAlpha = 255,
  11. required Color fillColor,
  12. double fillAlpha = 255,
  13. CPDFLineType lineHeadType = CPDFLineType.none,
  14. CPDFLineType lineTailType = CPDFLineType.none,
  15. double dashGap = 0,
  16. List<List<double>>? points,
})

Implementation

CPDFLineAnnotation({
  required super.type,
  super.title,
  required super.page,
  super.content,
  required super.uuid,
  super.createDate,
  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,
});