ContourMessage class

One contour of a ContoursObservation.

Constructors

ContourMessage({required List<int> indexPath, required double aspectRatio, required double area, required double perimeter, required NormalizedRectMessage boundingBox, required int pointCount, required int childCount, Float64List? points})

Properties

area ↔ double
getter/setter pair
aspectRatio ↔ double
getter/setter pair
boundingBox ↔ NormalizedRectMessage
getter/setter pair
childCount ↔ int
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
indexPath ↔ List<int>
The contour's position in the observation's tree.
getter/setter pair
perimeter ↔ double
getter/setter pair
pointCount ↔ int
getter/setter pair
points ↔ Float64List?
Interleaved x, y pairs; only present when the request asked for points.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

decode(Object result) → ContourMessage