S&box Wiki

Rect.Shrink

Syntax

Rect Shrink( float left, float top, float right, float bottom )

Description

Where padding is an edge type rect, will return this rect contracted with those edges.

Arguments

float left
float top
float right
float bottom

Returns