ShapeAnnotation constructor
ShapeAnnotation({
- String? id,
- required Color? strokeColor,
- required double? strokeWidth,
- required List<
double> bbox, - String? createdAt,
- required int pageIndex,
- required AnnotationType type,
- Color? fillColor,
- BorderStyle? borderStyle,
- List<
double> ? borderDashArray, - double? cloudyBorderIntensity,
- List<
double> ? cloudyBorderInset, - String? note,
- MeasurementScale? measurementScale,
- MeasurementPrecision? measurementPrecision,
- List<
double> ? measurementBBox, - String? creatorName,
- double opacity = 1.0,
- int? pdfObjectId,
- List<
AnnotationFlag> ? flags, - String? updatedAt,
- String? name,
- String? subject,
- 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);