ExportedRect class
A box on a captured frame, in the image's own pixels.
Not logical pixels: the capture scale is already applied. A consumer cropping, drawing, or handing this to a service that draws it should never have to know what the run was captured at, and the one that has to ask is the one that gets it wrong at 3x.
Constructors
- ExportedRect({required int x, required int y, required int width, required int height})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → ExportedRect? -
parse(
String? rect, {double scale = 1}) → ExportedRect? -
Parses the
x,y w×hspelling the capture records.