Пример #1
0
 static public RectI2 GetEnlarged(this RectI2 item, VectorI2 min_adjust, VectorI2 max_adjust)
 {
     return(item.GetAdjusted(-min_adjust, max_adjust));
 }
Пример #2
0
 static public RectI2 GetShifted(this RectI2 item, VectorI2 amount)
 {
     return(item.GetAdjusted(amount, amount));
 }