Contour class

Contour class

Constructors

Contour({int? height, int? width, required List<Point<double>> points, Uint8List? image})
Create a contour instance
const
Contour.fromMap(Map<String, dynamic> map)
Construct class from the json map
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
image height
final
image Uint8List?
bytes of the returned image (maybe eliminated in the future)
final
points List<Point<double>>
list of contour points (coordinates)
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
width int?
image width
final

Methods

copyWith({int? height, int? width, List<Point<double>>? points, Uint8List? image}) Contour
Creates a copy of this Contour but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Convert the class to String

Operators

operator ==(Object other) bool
The equality operator.
inherited