CameraRect class Null safety

Holds four integer coordinates for a rectangle.

The rectangle is represented by the coordinates of its 4 edges (left, top, right bottom).

Annotations
  • @Reference('android_hardware/camera/CameraRect')

Constructors

CameraRect({required int top, required int bottom, required int right, required int left})
Default constructor for CameraRect.
CameraRect.withoutCreate({required int top, required int bottom, required int right, required int left})
Construct a CameraArea without creating the paired Java object.

Properties

bottom int
The offset of the bottom edge of this rectangle from the y axis.
final
hashCode int
The hash code for this object.
read-onlyinherited
left int
The offset of the left edge of this rectangle from the x axis.
final
The offset of the right edge of this rectangle from the x axis.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
top int
The offset of the top edge of this rectangle from the y axis.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
@ReferenceMethod(ignore: true)override

Operators

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