translate

fun translate(offset: Vector2): Box2(source)

Translates this box by offset, moving both bounds.

Return

A reference to this box.