Flutter
vector_math_64
Aabb2
center property
center
Aabb2 class
Constructors
Aabb2
centerAndHalfExtents
copy
fromBuffer
minMax
Properties
center
max
min
hashCode
runtimeType
Methods
containsAabb2
containsVector2
copyCenterAndHalfExtents
copyFrom
hull
hullPoint
intersectsWithAabb2
intersectsWithVector2
rotate
rotated
setCenterAndHalfExtents
transform
transformed
noSuchMethod
toString
Operators
operator ==
center property
Vector2
center
The center of the AABB.
Implementation
Vector2 get center => _min.clone() ..add(_max) ..scale(0.5);