PolygonAnnotation class
Polygon annotation
- Inheritance
-
- Object
- Annotation
- ShapeAnnotation
- PolygonAnnotation
- Available extensions
Constructors
-
PolygonAnnotation.new({String? id, required List<
double> bbox, required String? createdAt, required int pageIndex, required Color? strokeColor, required double? strokeWidth, required List<List< points, Color? fillColor, BorderStyle? borderStyle, List<double> >double> ? borderDashArray, double? cloudyBorderIntensity, List<double> ? cloudyBorderInset, String? creatorName, double opacity = 1.0, int? pdfObjectId, List<AnnotationFlag> ? flags, String? updatedAt, String? name, String? subject, String? note, MeasurementScale? measurementScale, MeasurementPrecision? measurementPrecision, List<double> ? measurementBBox, Map<String, dynamic> ? customData}) -
PolygonAnnotation.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
bbox
→ List<
double> -
finalinherited
-
borderDashArray
→ List<
double> ? -
finalinherited
- borderStyle → BorderStyle?
-
finalinherited
-
cloudyBorderInset
→ List<
double> ? -
finalinherited
- cloudyBorderIntensity → double?
-
finalinherited
- createdAt → String?
-
finalinherited
- creatorName → String?
-
finalinherited
-
customData
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
- fillColor → Color?
-
finalinherited
-
flags
↔ List<
AnnotationFlag> ? -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
finalinherited
- id → String?
-
finalinherited
-
measurementBBox
→ List<
double> ? -
finalinherited
- measurementPrecision → MeasurementPrecision?
-
finalinherited
- measurementScale → MeasurementScale?
-
finalinherited
- name → String?
-
finalinherited
- note → String?
-
finalinherited
- opacity ↔ double
-
getter/setter pairinherited
- pageIndex ↔ int
-
getter/setter pairinherited
- pdfObjectId → int?
-
finalinherited
-
points
→ List<
List< double> > -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeColor → Color?
-
finalinherited
- strokeWidth → double?
-
finalinherited
- subject → String?
-
finalinherited
- type → AnnotationType
-
finalinherited
- updatedAt ↔ String?
-
getter/setter pairinherited
- v → int
-
finalinherited
Methods
-
copyWith(
{String? id, List< double> ? bbox, String? createdAt, int? pageIndex, List<List< ? points, Color? strokeColor, double? strokeWidth, Color? fillColor, BorderStyle? borderStyle, List<double> >double> ? borderDashArray, double? cloudyBorderIntensity, List<double> ? cloudyBorderInset, String? creatorName, double? opacity, int? pdfObjectId, List<AnnotationFlag> ? flags, String? updatedAt, String? name, String? subject, String? note}) → PolygonAnnotation -
Available on PolygonAnnotation, provided by the PolygonAnnotationExtensions extension
Creates a copy of this annotation with the given fields replaced with the new values -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited