RectExtensions¶
Namespace:
SideXP.Core
Extension functions for Rect values.
Methods¶
HoldInArea(Rect, Rect)¶
Holds this Rect inside the given area.
Parameters
rect: TheRectyou want to hold in the given area.area: The available area in which the given rect can be placed.
HoldInScreenSpace(Rect)¶
Holds this Rect inside the screen space.
Parameters
rect: TheRectyou want to hold in the screen space.