Rect class

Integer coordinates for a rectangle.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Rect(int? left, int? top, int? right, int? bottom)
Constructs a Rect

Properties

bottom int?
The Y coordinate of the bottom side of the rectangle.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
left int?
The X coordinate of the left side of the rectangle.
getter/setter pair
The X coordinate of the right side of the rectangle.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top int?
The Y coordinate of the top side of the rectangle.
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