CPDFSquareAnnotation constructor

CPDFSquareAnnotation({
  1. String title = "",
  2. required int page,
  3. String content = "",
  4. String uuid = '',
  5. DateTime? createDate,
  6. required CPDFRectF rect,
  7. double borderWidth = 0,
  8. required Color borderColor,
  9. double borderAlpha = 255,
  10. required Color fillColor,
  11. double fillAlpha = 255,
  12. CPDFBorderEffectType effectType = CPDFBorderEffectType.solid,
  13. double dashGap = 0,
})

Implementation

CPDFSquareAnnotation({
  super.title,
  required super.page,
  super.content,
  super.uuid = '',
  super.createDate,
  required super.rect,
  this.borderWidth = 0,
  required this.borderColor,
  this.borderAlpha = 255,
  required this.fillColor,
  this.fillAlpha = 255,
  this.effectType = CPDFBorderEffectType.solid,
  this.dashGap = 0,
}) : super(type: CPDFAnnotationType.square);