ScanWindow class

Represents a normalized Region of Interest (ROI) scanning window rectangle. Values range from 0.0 to 1.0 relative to total camera frame dimensions.

Constructors

ScanWindow({double left = 0.0, double top = 0.0, double width = 1.0, double height = 1.0})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
height double
final
left double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double
final
width double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toPixelRect(Size frameSize) Rect
Converts normalized coordinates to pixel Rect based on overall frame size.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

centerReticle → const ScanWindow
Center reticle window preset.
fullFrame → const ScanWindow
Full camera frame window preset.