Rectangle class

The location of the target area relative to the screen or window. If you do not set this parameter, the SDK selects the whole screen or window.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Rectangle({int? x, int? y, int? width, int? height})
Constructs the Rectangle.

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
The height of the target area.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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