Rect class
长方形区域。
- Annotations
- @JsonSerializable(explicitToJson: true)
Constructors
- Rect()
- Constructs a Rect
-
Rect.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bottom ↔ int
-
长方形区域的底边所对应的纵坐标。
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- left ↔ int
-
长方形区域的左边所对应的横坐标。
read / write
- right ↔ int
-
长方形区域的右边所对应的横坐标。
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- top ↔ int
-
长方形区域的上边所对应的纵坐标。
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited