Rect class

The screen sharing region. Deprecated: This class is deprecated. Please use the updateScreenCaptureRegion method to update the shared area.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Rect({int x = 0, int y = 0, int width = 0, int height = 0, int? left, int? top, int? right, int? bottom})
Constructs the Rect.

Properties

bottom int?
The coordinate of the bottom side of the shared area on the vertical axis.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
The height of the target area.
getter/setter pair
left int?
The coordinate of the left side of the shared area on the horizontal axis.
getter/setter pair
The coordinate of the right side of the shared area on the horizontal axis.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top int?
The coordinate of the top side of the shared area on the vertical axis.
getter/setter pair
width int
The width of the target area.
getter/setter pair
x int
The horizontal offset from the top-left corner.
getter/setter pair
y int
The vertical offset from the top-left corner.
getter/setter pair

Methods

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

Operators

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