RectangleShape class

Inheritance

Constructors

RectangleShape(Vector2 size, {Vector2? position})

Properties

bottom → double
no setter
hashCode → int
The hash code for this object.
no setterinherited
height → double
no setter
left → double
no setter
leftBottom ↔ Vector2
getter/setter pair
leftTop ↔ Vector2
getter/setter pair
position ↔ Vector2
getter/setter pairinherited-getteroverride-setter
rect → Rect
no setter
no setter
rightBottom ↔ Vector2
getter/setter pair
rightTop ↔ Vector2
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
top → double
no setter
width → double
no setter

Methods

isCollision(Shape b) → bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Canvas canvas, Paint paint) → void
override
toString() → String
A string representation of this object.
inherited

Operators

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