Vector2Rect class
Flame v1 relies a lot on Vector2 for position and dimensions Bonfire instead relies a lot on Rect internally. this class serves as a bridge between the two frameworks.
Constructors
- Vector2Rect(Vector2 position, Vector2 size)
 - Vector2Rect.fromRect(Rect rect)
 - Vector2Rect.zero()
 
Properties
- bottom → double
 - 
  
  no setter
 - center → Offset
 - 
  
  no setter
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - height → double
 - 
  
  no setter
 - left → double
 - 
  
  no setter
 - offset → Offset
 - 
  
  no setter
 - position → Vector2
 - 
  
  final
 - rect → Rect
 - 
  
  final
 - right → double
 - 
  
  no setter
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - size → Vector2
 - 
  
  final
 - top → double
 - 
  
  no setter
 - width → double
 - 
  
  no setter
 
Methods
- 
  contains(
Offset offset) → bool  - 
  copyWith(
{Vector2? position, Vector2? size}) → Vector2Rect  - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  overlaps(
Vector2Rect vector) → bool  - 
  Whether 
otherhas a nonzero area of overlap with this rectangle. - 
  shift(
Offset offset) → Vector2Rect  - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 - 
  translate(
double translateX, double translateY) → Vector2Rect  
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited