translate

fun translate(offset: Vector2): Box2

Translates this box by offset, moving both bounds.

Return

A reference to this box.