Rectangle class

矩形区域

Constructors

Rectangle({int? x, int? y, int? width, int? height})
const

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
height → int?
矩形高度(px)
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
width → int?
矩形宽度(px)
final
x → int?
矩形区域左上角的 x 坐标
final
y → int?
矩形区域左上角的 y 坐标
final

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