DetectionOverlayPainter class

Paints detection boxes (source-pixel coordinates) scaled onto the widget.

Constructors

DetectionOverlayPainter({required List detections, required double sourceWidth, required double sourceHeight})

Properties

detections → List
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceHeight → double
final
sourceWidth → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(dynamic canvas, dynamic size) → void
shouldRepaint(DetectionOverlayPainter oldDelegate) → bool
toString() → String
A string representation of this object.
inherited

Operators

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