Beispiel #1
0
 static public RectF2 GetShrunk(this RectF2 item, VectorF2 min_adjust, VectorF2 max_adjust)
 {
     return(item.GetEnlarged(-min_adjust, -max_adjust));
 }
Beispiel #2
0
 static public RectF2 GetEnlarged(this RectF2 item, VectorF2 amount)
 {
     return(item.GetEnlarged(amount.x, amount.y));
 }
Beispiel #3
0
 static public RectF2 GetEnlarged(this RectF2 item, float amount)
 {
     return(item.GetEnlarged(amount, amount));
 }
Beispiel #4
0
 static public RectF2 GetEnlarged(this RectF2 item, float x, float y)
 {
     return(item.GetEnlarged(new VectorF2(x, y), new VectorF2(x, y)));
 }