Version: 2019.1
public void ClampToBounds (RectInt bounds);

Parameters

boundsBounds to clamp the RectInt.

Description

Clamps the position and size of the RectInt to the given bounds.