Method Inflated
Inflated(Rect, Vector2)
Inflate a rect
선언
public static Rect Inflated(this Rect r, Vector2 delta)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Rect | r | |
Vector2 | delta | x and y are added/subtracted fto/from the edges of the rect, inflating it in all directions |
반환
타입 | 설명 |
---|---|
Rect | The inflated rect |